What is the `Map` interface in Java?
The `Map` interface is similar to a `List` but instead of storing elements, it stores pairs of keys and values, and allows duplicate keys.
That's incorrect. `Map` doesn't allow duplicate keys, only duplicate values.
Can you explain why `Map` does not allow duplicate keys and what would happen if you try to insert one?