What is ListIterator?

1 Like

ListIterator is just like Iterator, except it allows us to access the collection in either the forward or backward direction and lets us modify an element

This cursor can be applied to all the List implementation classes and it can be used to accesses the element and both forward and backward direction. (Arraylist,Linkedlist,Vector);