JAVA Syntax Variables Collections Iterator

 

- Info:

- Iterators are used to iterate through colletion of elements with abilty, in some cases, to remove last element returned.

- Iterators are part of Java Collection Framework

- Iterators should be used instead of Enumerator since they provide extended functionalty and shorter function names.

- Iterator can't be instantiated but only returned by some other Collection class like: Vector.