Maps contain a mapping from one type of objects to another.
There's HashMap and TreeMap.
HashMap
TreeMap
This is the output:
foo bar