✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
HashMap<String, String> myHashMap = new HashMap<String, String>();
myHashMap.put("Basil", "07.12.1987");
myHashMap.put("Kate", "12.10.1971");
myHashMap.put("Lena", "11.01.1991");
System.out.println("The size of map is " + myHashMap.size());