Is Iterator a Class or Interface? What is its use?
Java Interview Questions and Answers (part 1)
(Continued from previous question...)
12. 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.
(Continued on next question...)
Other Interview Questions