A

Admin • 832.27K Points
Coach

Q. Which of the following is a limitation of HashMap?

  • (A) It does not allow duplicate keys
  • (B) It allows only integers
  • (C) It does not maintain any order
  • (D) It is synchronized by default
  • Correct Answer - Option(C)
  • Views: 18
  • Filed under category Java
  • Hashtags: Java Map

Explanation by: Admin

HashMap does not guarantee any specific order of keys or values.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.