UKG interview question

How a hash map is implemented in Java?