A

Admin • 828.03K Points
Coach

Q. Which Map implementation maintains the insertion order?

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

Explanation by: Admin
LinkedHashMap maintains the order in which entries are inserted.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.