Java Interview Questions - Is Iterator a Class or Interface? What is its use?

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

0 comments:

Post a Comment

 
Copyright © Interview Questions and answers - Blogger Theme by BloggerThemes & freecsstemplates - Sponsored by Internet Entrepreneur