1.

Which of these methods can be used to move to next element in a collection?(a) next()(b) move()(c) shuffle()(d) hasNext()I got this question in unit test.The query is from Iterators in division java.util – The Collections Framework of Java

Answer»

The CORRECT CHOICE is (a) NEXT()

EASY explanation: None.



Discussion

No Comment Found

Related InterviewSolutions