0
Explain Multi Dimensions Arrays plz
1 Respuesta
+ 4
you can look at a bidimensional array as a table with rows and columns. each cell in the table can be accessed via its column and rows number like the horizontal and vertical coordinates of a Cartesian plain.
sampleArray[1] [3] can be visualized as the cell in the table corresponding to the intersection between the column indexed by 1(second column in the table) and the row indexed by 3(fourth row in the table). Remember that indexes start at 0.
You can visualize a 3 dimensional array as a cube