board array to represent grid code example Example: 2d arrays | java int[][] arr = new int[row][column];