R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which class provides a navigable map in Java?

  • (A) HashMap
  • (B) LinkedHashMap
  • (C) TreeMap
  • (D) WeakHashMap
  • Correct Answer - Option(C)
  • Views: 4
  • Filed under category Java
  • Hashtags:

Explanation by: Ram Sharma
`TreeMap` implements `NavigableMap` and provides navigation methods like `ceilingKey()`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.