Home » JAVA Programming » Collections » Question
  1. What is the output of this program?

    1. 20 22 52 13
    2. 52 13 20 22
    3. 13 20 22 52
    4. 52 22 20 13
    5. Any Random order
Correct Option: E

shuffle – randomizes all the elements in a list.



Your comments will be displayed only after manual approval.