A

Admin • 828.03K Points
Coach

Q. What is the default capacity of a HashSet?

  • (A) 8
  • (B) 16
  • (C) 10
  • (D) 0
  • Correct Answer - Option(B)
  • Views: 7
  • Filed under category Java
  • Hashtags: Java Set

Explanation by: Admin
HashSet has a default capacity of 16 and a load factor of 0.75.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.