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.
17 lines
477 B
17 lines
477 B
package country.ru.molokoin; |
|
|
|
public class Map { |
|
private Country[] map = new Country[5]; |
|
public void initDefaults(){ |
|
map[0] = new Country(); |
|
map[0].init("Russia", 17100000, 146700000, "Moscow", 12600000, 0); |
|
} |
|
public static void main(String[] args) { |
|
System.out.println("App.main()"); |
|
Map m = new Map(); |
|
m.initDefaults(); |
|
m.map[0].print(); |
|
m.map[0].getCapital().print(); |
|
|
|
} |
|
}
|
|
|