I am trying to build a HashMap which will have integer as keys and objects as values.
My syntax is:
HashMap myMap = new HashMap&
use int as Object not as primitive type
HashMap myMap = new HashMap();