13/13. nothing happen with console when we change the positions of cities in our code. Why?



My code. 
majorCities.put("London", 43);
		majorCities.put("New York", 1624);
		majorCities.put("Mexico City", 1521);
		majorCities.put("Sao Paulo", 1554);
for ( String city : majorCities.keySet() ) {

console: New York
Sao Paulo
Mexico City


Please provide the FULL code !!!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.