Hey everyone! If I have a matrix as follows:

int[][] mat = new int[5][3];

Does that mean that the row size is 5 and the column size is 3 or vice-versa? I am really confused about whether the order is [row][col] or whether it is [x][y] in relation to the x-y plane, which would be [col][row].

Can someone please explain?