题目:关于下列代码的描述中,正确的是______。 public class Person{ int[] arr=new int[9]; public static void main(String[] args){ System.out.println(arr[10]); } }
A. C、输出0
B. D、输出null
C. B、编译时正确,运行时将产生错误
D. A、编译时将产生错误
答案:评论后可见此内容
推荐使用我们的公众号搜索题目,题目更全,检索更方便。支持语音、图片、文字等多种搜索方式。