title: Why does a key in a Map must be an object and not a primitive and Why cant i use primitive type as key in a map
body: <p>I have a map: <code>Map abc = new HashMap()</code>. Why is it mandatory for me to use only objects as keys and not primitives?</p>