← Barclays questions
Reported in a candidate post, Jan 2023

Internal working of HashMap and Java 8 changes

Filed under Barclays

Explain how HashMap works internally in Java, what changed in Java 8, and the hashCode and equals contract. Follow-ups: mutability and how to make a class mutable; the Collections framework and its…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Barclays questions

Collected from public candidate posts and coding forums. Updated Nov 2026.