Map<String, String> map = new HashMap<String, String>(); // Make an empty map map.put("es", "Spain"); // Add the key/value pairs map.put("us", "United States"); map.put("zw", "Zimbabwe");