欢迎使用题易搜网站

题易搜

在线题库

[单选]   请看下面的程序段:    public class Person{    static int arr[] = new int[10];    public static void main(String a[]) {        System .out .println(arr[1]);}    }下面说法正确的是    :    

发布时间:2022-09-12 0次
A

当编译时会发生错误

B

编译不会发生错误但执行是会发生错误

C

输出结果为0

D

不会输出结果

您需要登录才可以下载或查看,没有账号?会员注册