单选题
给出下列的程序,其叙述正确的是 ( )
public class Man
static int arr[]=new int[10];
public static void mam(String a[])
System.out.println(arr[1]);
A、
编译时将发生错误
B、
编译时正确但是运行时出错
C、
输出为0
D、
输出为null
【正确答案】
C
【答案解析】
提交答案
关闭