Know About Iterator

Compiled By Unknown - No Comments
What is an Iterator? Iterator interface provides methods to iterate over any Collection. We can get iterator instance from a Collection using iterator method. Iterator takes the place of Enumeration in the Java Collections Framework. Iterators allow the caller to remove elements from the underlying collection during the iteration.

Tags:

No Comment to " Know About Iterator "