• 2022-06-27
    以下对于二维数组初始化正确的是( )。
    A: int[3][] num = {{1,2}, {2}, {3,4,5}};
    B: int[3][3] num = {{1,2}, {2}, {3,4,5}};
    C: int[][3] num = {{1,2}, {2}, {3,4,5}};
    D: int[][] num = {{1,2}, {2}, {3,4,5}};