American Express Interview Question

How does hash table in Java work