¿Cuál es la forma correcta de crear un nuevo objeto HashMap en Java?
HashMap myMap = new HashMap()
HashMap<String, Integer> myMap = new HashMap<String, Integer>()
HashMap<String, Integer> myMap = new HashMap<>()
myMap<String, Integer> = new HashMap()