🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: HashMap and Maps: all 10 questions

Quiz: HashMap and Maps · Question 2 of 10

What is HashMap's default load factor?

What is HashMap's default load factor?

  1. A.0.5
  2. B.0.75
  3. C.1.0
  4. D.0.25
Answer & explanation

Correct answer: 0.75

When 75% of capacity is used, the map resizes.

Can you get the rest right without peeking?

Take the timed Quiz: HashMap and Maps quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →