← Quiz: How Hashing Works: all 13 questions
Quiz: How Hashing Works · Question 4 of 13
Java's HashMap resizes when the load factor passes:
Java's HashMap resizes when the load factor passes:
- A.0.25
- B.0.5
- C.0.75
- D.1.5
Answer & explanation
Correct answer: 0.75
The default load factor is 0.75; then the bucket array doubles and keys are rehashed.
Can you get the rest right without peeking?
Take the timed Quiz: How Hashing Works quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →