dimanche 21 mars 2021

How do you fill an arrayList with random numbers while those numbers are in the range of 1-25 [closed]

  • Create an ArrayList
  • Fill with 20 random values [1 – 25]
  • Insert the value -12 at index 3
  • Double all odd values
  • Remove all values < 15
  • Remove all multiples of 4 and insert into a new ArrayList called fours



Aucun commentaire:

Enregistrer un commentaire