Home » Interview Questions » Core Java Interview Questions » Is Iterator a Class or Interface? What is its use?
 

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

Iterator is an interface which is used to step through the elements of a Collection.

Write a comment

  • Required fields are marked with *.

If you have trouble reading the code, click on the code itself to generate a new random code.
Security Code: