InterviewSolution
| 1. |
What Is Listiterator In Java? |
|
Answer» ListIterator provides the FUNCTIONALITY to iterate a LIST in both directions. The interesting POINT about list iterator is that it has no current element. Its current cursor position always lies between the element that would be returned by a CALL to previous() and the element that would be returned by a call to NEXT(). ListIterator provides the functionality to iterate a list in both directions. The interesting point about list iterator is that it has no current element. Its current cursor position always lies between the element that would be returned by a call to previous() and the element that would be returned by a call to next(). |
|