difference between next() and hasNext()
Answers
Answered by
0
Answer:
next() returns the next element where as hasNext() returns the true if the iteration has more elements.
Similar questions