What is an Iterator interface? Is Iterator a Class or Interface? What is its use? - JAVA Interview Questions

What is an Iterator interface? Is Iterator a Class or Interface? What is its use?


The Iterator is an interface, used to traverse through the elements of a Collection. It is not advisable to modify the collection itself while traversing an Iterator.



Click Here to See Answer .....
Did you like this article ?
Subscribe to my RSS feed and get more JAVA Question, and Guideline, Plus a lot more great advice to help your Software Career.

0 comments:

Related JAVA Questions Posts