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