Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of these methods can randomize all elements in a list?
  2. A.
    rand()
    B.
    randomize()
    C.
    shuffle()
    D.
    ambigous()

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    shuffle “ randomizes all the elements in a list.


Be The First To Comment