J.P. Morgan interview question

How Hashmaps in java work internally?