Final answer:
The correct statements are: 1. Iterator enables you to traverse through a collection. 2. ListIterator allows bidirectional traversal of list. 3. Collection does not extend Cloneable or Serializable.
Step-by-step explanation:
The correct statements are:
- Iterator enables you to traverse through a collection: An iterator is an object that allows traversal of a collection, such as an ArrayList or LinkedList, and returns each element one by one. It provides methods like hasNext() to check if there are more elements, and next() to retrieve the next element in the collection.
- ListIterator allows bidirectional traversal of list: ListIterator is a sub-interface of Iterator that allows traversal of lists in both forward and backward directions. It provides additional methods like hasPrevious() and previous() to traverse the list in reverse order.
- Collection does not extend Cloneable or Serializable: The Collection interface in Java does not directly extend Cloneable or Serializable. However, some sub-interfaces of Collection, like List and Set, can extend Cloneable or Serializable depending on their implementation.