A

Admin • 833K Points
Coach

Q. Which of these Set classes can be used with null values?

  • (A) HashSet
  • (B) TreeSet
  • (C) EnumSet
  • (D) ConcurrentSkipListSet
  • Correct Answer - Option(A)
  • Views: 21
  • Filed under category Java
  • Hashtags: Java Set

Explanation by: Admin

Only HashSet allows one null value; others do not allow null.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.