R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which of the following collections allow null values?

  • (A) HashMap
  • (B) Hashtable
  • (C) TreeMap
  • (D) All of the above
  • Correct Answer - Option(A)
  • Views: 9
  • Filed under category Java
  • Hashtags:

Explanation by: Ram Sharma
`HashMap` allows one null key and multiple null values.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.