Multiple choice

Which of the following methods can be invoked from the object of TreeMap Constructor?

  1. higherEntry(K key)

  2. pollLastEntry()

  3. descendingKeySet()

  4. Both (1) and (3)

  5. All of these

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

Yes, this is the correct answer.