Question
Which of the following are methods of the java.util.SortedMap interface?
A. first
B. last
C. headMap
D. tailMap
E. subMap
C, D , E.
Note
The SortedMap interface has firstKey()
and lastKey()
methods, but not first()
or last()
.
PreviousNextRelated