Grids
Read · 1 of 3
An array of rows
int[][] grid = new int[R][C]; makes R rows of C zeros. grid[r][c] is row r, column c.
grid.length is the number of rows and grid[0].length the number of columns.
Read · 1 of 3
int[][] grid = new int[R][C]; makes R rows of C zeros. grid[r][c] is row r, column c.
grid.length is the number of rows and grid[0].length the number of columns.