Continents and Cities
March 16, 2019, 5:54am
1175×338 27.9 KB
I was wondering why the code int he screenshot turns up an error. Isn’t the main method within the scope of the class?
March 20, 2020, 11:35am
int continent = 4 should be in the main method， that way the value of continent can be static!