J.P. Morgan Interview Question

How Hashmaps in java work internally?