中国大学MOOC: 试图编译和运行以下代码的结果是:classBase{privateBase(){System.out.println(0);}publicBase(inti){System.out.println(i);}}publicclassTestextendsBase{publicTest(){super(1);};publicstaticvoidmain(Stringargv[]){Testt=newTest();}}
中国大学MOOC: 试图编译和运行以下代码的结果是:classBase{privateBase(){System.out.println(0);}publicBase(inti){System.out.println(i);}}publicclassTestextendsBase{publicTest(){super(1);};publicstaticvoidmain(Stringargv[]){Testt=newTest();}}
1