Java / Collections
What is the difference between Iterator and ListIterator?
Using Iterator we can traverse the list of objects only in forward direction . But ListIterator can traverse the collection in both directions that is forward as well as backward.
ListIterator has .add() method whereas Iterator does not have.
More Related questions...