FIS Interview Question

How does HashMap work in Java?