单项选择题

阅读下列代码后
publicclass Person
intarr[]=new int[10];
publicstaticvoidmain(Stringargs[])
System.out.println(alt[1]);

正确的说法是( )。

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