Question

TreeMap class is used to implement which one of the following collection interfaces?

A Set
B SortedSet
C SortedMap
D List
Answer & Explanation
Option: [B]

TreeMap class is used to implement SortedMap.