Hello,
Can someone tell me what is missing here, why i cannot run it ?
public static class Zerg {
public String imie;
Zerg zerg1 = new Zerg();
zerg1.imie = "Aghma";
package pl.codegym.task.task03.task0307;
/*
Witaj, StarCraft!
*/
public class Solution {
public static void main(String[] args) {
//tutaj wpisz swój kod
}
public static class Zerg {
public String imie;
Zerg zerg1 = new Zerg();
zerg1.imie = "Aghma";
Zerg zerg2 = new Zerg();
zerg2.imie = "Gioto";
Zerg zerg3 = new Zerg();
zerg3.imie = "Ten";
Zerg zerg4 = new Zerg();
zerg4.imie = "Hio";
Zerg zerg5 = new Zerg();
zerg5.imie = "Lala";
}
public static class Protoss {
public String imie;
Protoss protoss1 = new Protoss();
protoss1.imie = "Zoldak";
}
public static class Terranin {
public String imie;
Terranin terranin1 = new Terranin();
terranin1.imie = "Gaja"
}
}