Java Reference
In-Depth Information
In this example,
table[0][0]
will have the value 1,
table[0][1]
the value 2,
table[0][2]
the
value 3, and so on. The value of
table[2][3]
will be 12. Conceptually, the array will look
like that shown in
Figure 5-1
.
Figure 5-1
Conceptual view of the table array by the
TwoD
program
Irregular Arrays