Google News
logo
Java Collections - Interview Questions
What do you understand by Iterator in the Java Collection Framework?
Iterator in Java is an interface of the Collection framework present in java.util package. It is a Cursor in Java which is used to iterate a collection of objects. Below are a few other major functionalities provided by the Iterator interface:

* Supports READ and REMOVE Operations.
* Iterator method names are easy to implement
* Traverse a collection object elements one by one
* Known as Universal Java Cursor as it is applicable for all the classes of the Collection framework
Advertisement