单项选择题
下列代码的编译或执行结果是()。 public class MyVal public static void main(String[] args) MyVal m=new MyVal(); m.aMethod(); public void aMethod() boolean [] b=new Boolean [5]; System.out.println(b[0]);
A.1 B.null C.0 D.编译错误
A.不能通过编译,TestThread类中不能定义变量和构造方法 B.输出 One One Two Two C.输出 Two One One Two D.选项B或C都有可能出现
A.① B.② C.③ D.④