A

Admin • 802.91K Points
Coach

Q. Which of the following is false for TreeMap?

  • (A) It maintains ascending order
  • (B) It allows null keys
  • (C) It implements SortedMap
  • (D) It is not synchronized
  • Correct Answer - Option(B)
  • Views: 2
  • Filed under category Java
  • Hashtags: Java Map

Explanation by: Admin
TreeMap does not allow null keys if natural ordering is used.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.