给出下面的代码: public class Person{ static int arr[] =new int[10]; public static void main(Strin
代码
已帮助 人
给出下面的代码:
public class Person{
static int arr[] =new int[10];
public static void main(String a[]) {
System.out.println(arr[1];)
}
}
以下叙述对的是______。
A.编译时将发生错误 B.编译时正确但是运行时出错
C.输出为0 D.输出为null
