// Create a Map Map<String, Integer> myMap = new HashMap<>(); myMap.put("Alice", 25); myMap.put("Bob", 30); myMap.put("Charlie", 35);