0 votes
in JAVA by
How to use iterator in Java

1 Answer

0 votes
by

What is an iterator?

An iterator is a collection framework functionality which enables sequential access of elements. The access can be done in one direction only. Java supports two types of iterators:

1. Enumeration Iterator

2. List Iterator

🔗Reference: stackoverflow.com

🔗Source: Java Interview Questions and Answers

...