linked hashmap is used for code example Example: linkedhashmap in java LinkedHashMap can have null key, keeps order