有程序如下 关于程序的描述哪个是正确的?() public class Person{ static int a[] = new
程序,错误
已帮助 人
有程序如下,关于程序的描述哪个是正确的?() public class Person{ static int a[] = new int[10]; public static void main(String a[]) { System.out.println(arr[1]); } }
A. 编译将产生错误
B. 编译时正确,但运行时将产生错误
C. 正确,输出0
D. 正确,输出?null
