0 votes
in JAVA by
What is an Iterator?

1 Answer

0 votes
by

The Iterator interface provides a number of methods that are able to iterate over any Collection. Each Java Collection contains the Iterator method that returns an Iterator instance. Iterators are capable of removing elements from the underlying collection during the iteration.

Source: github.com/snowdream   

...