• 2022-06-16
    下列选项中关于二维数组的定义,格式错误的是( )
    A: int [][]arr = new int[3][4]
    B: int [][]arr = new int[3][]
    C: int[][] arr = new int[][4]
    D: int [][]arr = {{1,2},{3,4,5},{6}}