A

Admin • 828.03K Points
Coach

Q. Which Map implementation uses red-black tree internally?

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

Explanation by: Admin
TreeMap uses a red-black tree to store entries in sorted order.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.