<<< How to copy an array prior to JDK 1.6 (cont.) | Index | Two-dimensional arrays, cont. >>> |
The syntax for creating a rectangular array
type[][] arrayName = new type[rowCount][columnCount];
A statement that creates a 3x2 array
int[][] numbers = new int[3][2];
<<< How to copy an array prior to JDK 1.6 (cont.) | Index | Two-dimensional arrays, cont. >>> |