What is the difference between cursors ...

What is the difference between cursors like ListIterator, Iterator and enumeration.

Your Answer

Basically enumeration is designed for iterating leagacy classes like vector and stack. And it is called as forward directional cursor.and then list iterator comes for iterating all the collection classes objects and only difference is it has more functionality the previous one. Now the list iterator is bidirectional cursor that can iterat in both directions.

Core Java

Didn't get the answer.
Contact people of Talent-Core Java directly by clicking here