Multiple choice technology programming languages

Which interface does TreeMap class implement ?

  1. Set

  2. SortedSet

  3. List

  4. Tree

  5. SortedMap

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

TreeMap implements the NavigableMap interface, which directly extends the SortedMap interface. The other options are incorrect because Set and SortedSet handle unique collections rather than key-value maps, List represents ordered sequences, and Tree is not a standard Java Collections interface.