+ 3

Multi-Dimensional Array Example

I need another example on how multi-dimensional array accessing works.

21st Sep 2016, 2:47 PM
Parash Patel
Parash Patel - avatar
2 Respuestas
+ 4
If you think of an array as a group of boxes then a multidimensional array is a group of boxes containing groups of boxes. To access them you need to specify which box the group of boxes is in then specify the box within that group. e.g i[3][1] would be the 2nd box [1] of the 4th group of boxes [3].
21st Sep 2016, 2:59 PM
Alex Wood
Alex Wood - avatar
0
Multi-dimensional array actually is array of array. There is an array where each element is also an array. Multi-dimensional array example is available in http://javabasictoadvanced.blogspot.co.id/2016/05/array.html
22nd Sep 2016, 4:20 AM
Aula Muttaqin
Aula Muttaqin - avatar