map
is a two-dimensional array. map.length
specifies the length of the first dimension defined by row
. map[0].length
in turn specifies the length of the first array of the second dimension.
3
solved Java doesn’t understand the logic of this code