单选题
给出下面的程序: public class ex49 { static int arr[] = new int[10]; public static void main(String args [] ) { System.out.println (art [1] ); } } ______叙述是正确的。
A、
编译时将发生错误
B、
输出为 null
C、
输出为0
D、
编译时正确但是运行时出错
【正确答案】
C
【答案解析】
提交答案
关闭