• 2022-06-09
    给出下面代码: public class Person{ static int arr[] = new int[10] public static void main(String a[]){ System.out.println(arr[1]) } } 哪个语句是正确的?
    A: 编译时将产生错误
    B: 输出零
    C: 编译时正确,运行时将产生错误
    D: 输出空
  • 举一反三