欢迎使用题易搜网站

题易搜

在线题库

[单选]  给出下面代码:   public class test{    static int a[] = new a[10];    public static void main(String args[]) {     System.out.println(arr[10]);    }   } 那个选项是正确的?( )

发布时间:2024-03-05 0次
A编译时将产生错误;B编译时正确,运行时将产生错误;C输出零;D输出空。
您需要登录才可以下载或查看,没有账号?会员注册