The Java Platform Java Runtime Environment Data Types Control Statemets Methods Arrays Classes and Objects Inheritance Constructor Interface Packages & Access Modifiers Java Collections Framework![]() What are Collections![]() The Java Collections Framework![]() Benefits![]() Collection hierarchy![]() The Collection Interface![]() Types of Collection![]() Iterators![]() Using Set![]() Using Map![]() Example | IteratorsAn Iterator is a sequence of objects that can be accessed one at a time. public interface Iterator {
boolean hasNext();
Object next();
void remove(); // Optional
} |