Iterator Interface

Q

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

✍: FYIcenter

A

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

2007-03-03, 5046👍, 0💬