编译并运行下述程序段的结果是:
public class Test{
public static void main(String argv[]){
int[] count = new int[4];
System.out.println(count[4]);
}
}编译时错误
运行时错误
输出0
输出null
编译并运行下述程序段的结果是:
public class Test{
public static void main(String argv[]){
int[] count = new int[4];
System.out.println(count[4]);
}
}编译时错误
运行时错误
输出0
输出null