+ 3
Multi-Dimensional Array Example
I need another example on how multi-dimensional array accessing works.
2 Antworten
+ 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].
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