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
Select the correct answer from above options