阅读下面的程序:public class Person{ int arr[ ]=Hew int[10]; public static void main(String

计算机 程序,错误,说法 已帮助 人

阅读下面的程序: public class Person{ int arr[ ]=Hew int[10]; public static void main(String args[ ]){ System.out.println(arr[1]); } } 正确的说法是______。

A.编译时将产生错误

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

C.输出为0

D.输出为空

热搜:下面的哪个是正确的域名格式