单项选择题

阅读下列代码后
public class Person{
int arr[]=new int[10];
public static void main(String args[]){
System.out.println(arr[]);
}
}
正确的说法是______。

A.编译时将产生错误
B.编译时正确,运行时将产生错误
C.输出零
D.输出空
题目列表

你可能感兴趣的试题

微信扫码免费搜题