package zh.codegym.task.task03.task0307; /* 你好,《星际争霸》! */ public class Solution { public static void main(String[] args) { //write your code here Zerg zerg0=new Zerg(); Zerg zerg1=new Zerg(); Zerg zerg2=new Zerg(); Zerg zerg3=new Zerg(); Zerg zerg4=new Zerg(); zerg0.name="a"; zerg1.name="a"; zerg2.name="a"; zerg3.name="a"; zerg4.name="a"; Protoss protoss0=new Protoss(); Protoss protoss1=new Protoss(); Protoss protoss2=new Protoss(); protoss0.name="a"; protoss1.name="a"; protoss2.name="a"; Terran terran0=new Terran(); Terran terran1=new Terran(); Terran terran2=new Terran(); Terran terran3=new Terran(); terran0.name="a"; terran1.name="a"; terran2.name="a"; terran3.name="a"; } public static class Zerg { public String name; } public static class Protoss { public String name; } public static class Terran { public String name; } }