public static void main(String[] args) {
Map map1? =new HashMap<>();
? ? map1.put("key1",1);
? ? map1.put("key2",2);
? ? map1.put("key3",3);
? ? for (String key : map1.keySet()) {
System.out.println(key);
? ? ? ? System.out.println(map1.get(key));
? ? ? ? if(key.equals("area")){
}
}
}