R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which implementation of Map maintains ascending key order?

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

Explanation by: Ram Sharma
`TreeMap` stores keys in natural (ascending) order.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.