WHAT IS A LIST ITERATOR IN JAVA?

Sumit Kesarwani

Total Post:782

Points:3910
Posted by  Sumit Kesarwani
Java 
 1131  View(s)
Ratings:
Rate this:
  1. Sumit Kesarwani

    Post:782

    Points:3910
    What is a list iterator in java?

    The List and Set collections provide iterators, which are objects that allow going over all the elements of a collection in sequence. The java.util.Iterator interface provides for one-way traversal and java.util.ListIterator is an iterator for lists that allows the programmer to traverse the list in either direction (i.e. forward and or backward) and modify the list during iteration.

      Modified On Mar-27-2018 04:47:46 AM
  1. Dagmara Aburto

    Post:1

    Points:5
    What is a list iterator in java?

    The ListIterator in JAVA or in another lenguage,  is an iterator for lists that allows the programmer to traverse the list in either direction, modify the list during iteration, and obtain the iterator’s current position in the list.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!