You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
477 B

2 years ago
package country.ru.molokoin;
public class Map {
2 years ago
private Country[] map = new Country[5];
2 years ago
public void initDefaults(){
2 years ago
map[0] = new Country();
map[0].init("Russia", 17100000, 146700000, "Moscow", 12600000, 0);
2 years ago
}
public static void main(String[] args) {
System.out.println("App.main()");
2 years ago
Map m = new Map();
m.initDefaults();
m.map[0].print();
m.map[0].getCapital().print();
2 years ago
}
}