Java源文件的扩展名为( )
A. .java B. .class C. .jsp D. .html
public class test{
static int arr[]=new int[10];
public static void main(String at[]){
System.out.println(arr[0]);
}
}
哪个选项是正确的( )
A. 编译时将产生错误。 B. 编译时正确,运行时将产生错误。
C. 输出零。 D. 输出空。
选择答案:查看解析