Boilerplate

import java.util.HashMap; // Import the HashMap class
 
HashMap<String, String> capitalCities = new HashMap<>();
// Add keys and values (Country, City)
capitalCities.put("England", "London");
capitalCities.put("India", "New Dehli");