[单选题]

阅读下列代码

Public class Person{

Static int arr[ ] = new int (10);

Public static void main (String args ) {

System.out.println(arr[9]);

}

}

该代码运行的结果是

A. )编译时将产生错误

B. )编译时正确,运行时将产生错误

C. )输出 0

D. )输出空

参考答案与解析: