Map Example
A Map is a collection that maps keys to values. It does not allow duplicate keys, but it allows duplicate values.
SortedMap Example
SortedMap is an interface that extends Map and maintains the keys in a sorted order. TreeMap is a common implementation of SortedMap.