Guidewire interview question

How does the map in Java work?