Memory representation of an array?
We can view memory itself as a giant array. On moden computers, memory is implemented in hardware as a sequence of indexed memory locations that each can be quickly accessed with an appropriate index.
Suppose that a computers memory is organized as 1000 values, with addresses from 000 to 999. Suppose that an array of eight elements is stored in memory locations 523 through 530. In such a situation, Java would store the memory addresses of the first array value somewhere else in memory, along with array length. We refer to the adress as a pointer and think of it as pointing to a location.
It would look something like this
000
...
123 523 //array location
124 8 //length of array
...
523 array[0]
524 array[1]
...
530 array[7]
...
999
My Question
How does the memory representation of an 2 dimensional array look?
(Array[][])