A-A+
给出下面的程序: public class ex49 { static int arr[]
问题详情
给出下面的程序: 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