Amazon interview question

How is a hash map implemented in Java?