• 2022-05-29
    下面正确创建了二维交错数组的是()。
    A: int[][] Arr=new int[3][];Arr[0]=new int[]{10,20,30};Arr[1]=new int[]{40,50,60,70};Arr[2]=new int[]{80,90};
    B: int[,] Arr=new int[3,];Arr[0]=new int[]{10,20,30};Arr[1]=new int[]{40,50,60,70};Arr[2]=new int[]{80,90};
    C: int[][3] Arr={new int[]{10,20,30},new int[]{40,50,60,70},new int[]{80,90}};
    D: int[3][] Arr={new int[3]{10,20,30},new int[4]{40,50,60,70},new int[2]{80,90}};