Page 61 - Abstract Class, Interface & Struktur Data
P. 61

Loop Through a Hashmap











             for (String i : capitalCities.keySet()) {





                System.out.println(i);





             }





             for (String i : capitalCities.values()) {





                System.out.println(i);





             }
   56   57   58   59   60   61   62   63   64   65   66