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


#1



https://www.codecademy.com/en/courses/learn-java/lessons/data-structures/exercises/generalizations-data-structures


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() ) {

			System.out.println(city);
console: New York
London
Sao Paulo
Mexico City


#2

Please provide the FULL code !!!


#3

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