Java CursorA Java Cursor is an Iterator, which is used to iterate or traverse or retrieve a Collection or Stream object’s elements one by one.
There are four type of cursors provided by Java:
Note : Java Enumeration interface is deprecated, it is not recommended to use this in our applications.
Limitation of Iterator
To over come these limitations we should go for ListIterator interface.