Skip to content
Sharp

Collections · interview question

Which Java collection allows for iteration in reverse order using an iterator?

Multiple choiceEasychapter-4-curatedpremiumcollectionsiteration-and-traversal
Choose one answer
Answer and explanation

Correct answer

A. LinkedList

Why

LinkedList provides a ListIterator, which supports iterating in reverse order using the previous() method.

Test yourself on Collections

A free test with instant, explained results. No account needed.

Start free test
All Collections questions →