InterviewSolution
Saved Bookmarks
| 1. |
Which of these methods can randomize all elements in a list?(a) rand()(b) randomize()(c) shuffle()(d) ambiguous()I got this question by my college professor while I was bunking the class.This intriguing question originated from Collection Algorithms topic in section java.util – The Collections Framework of Java |
|
Answer» RIGHT ANSWER is (c) SHUFFLE() EASY explanation: shuffle – randomizes all the elements in a list. |
|