Wipro Interview Question

How does the hashmap works in java?