Home » JAVA Programming » Collections » Question
  1. Which of these methods can randomize all elements in a list?
    1. randomize()
    2. rand()
    3. ambiguous()
    4. shuffle()
    5. None of these
Correct Option: D

shuffle – randomizes all the elements in a list.



Your comments will be displayed only after manual approval.