I create a new 2D array, I get an error. I am new to 2D arrays, so I am not sure what I am supposed to fix.
What I have tried:
I tried adding another pair of brackets, but it did not work.
Here is my code:
`
public boolean isMagic() {
int[][] matrix = new int[][][arraysize];(here)`
`
` for(int i =0; i< arraysize; i++){`
`for(int x=0; x<arraysize; x++){`
`matrix[i] +=matrixArray[i][x];`
`}
}`
`}
}`