Easy learning with example program codes

What is the difference between Iterator and ListIterator?

It traverses the elements in forward direction only.It traverses the elements in backward and forward directions both.
It can be used in List, Set and Queue.It can be used in List only.

Java interview questions on collections

Please follow and like us:

Copyright © 2020 CodesJava Protection Status