Untitled Document

Subscribe here to get updates on new Videos


25. Three Cusors of Java ListIterator?




previous homenext


1. By using ListIterator we can move either to the forward direction or to the backward direction, and hence ListIterator is bidirectional cursor
2. By using ListIterator we can perform replacement and addition of new Objects in addition to read and remove operations.
3. We can create ListIterator Object by using listIterator() method of List Interface. public ListIterator listIterator()


ListIterator itr=l.listIterator();

Where l is any List Object.

Note: ListIterator is the most powerful cursor but its limitation is, it is applicable only for List implemented class objects and it is not a universal cursor.



Please Note: Durgajobs.com is not in any way responsible for any consequences of you applying for a job through the vacancies listed on this site. Please do thorough research before applying. We take utmost care in publishing jobs on this site.While every care has been taken to avoid mistakes and errors on the web pages, durgajobs.com shall not be liable to any person in any manner whatsoever by reason of any error or omission which might have crept in unintentionally.