Which of the following are true statements?
- The
Practice Objects and Collections –
Which of the following are true statements?
- The Iterator interface declares only three methods: hasNext, next and remove.
- The ListIterator interface extends both the List and Iterator interfaces.
- The ListIterator interface provides forward and backward iteration capabilities.
- The ListIterator interface provides the ability to modify the List during iteration.
- The ListIterator interface provides the ability to determine its position in the List.