← 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?
- A.0.5
- B.0.75
- C.1.0
- 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 →