![]() |
VOOZH | about |
public Iterator<E> iterator()Return Value: This method returns an iterator over the elements in this list (in proper sequence). Below is the code to illustrate iterator() method: Program 1:
5 9 6 7 10 8 7
Geeks ForGeeks A Computer Science Portal For Geeks