When writing out the type of a multi-dimensional array
or allocating a multi-dimensional array,
the element type is written once for each dimension
int int a = new int int for a two-by-three array of ints).
The type of a multi-dimensional array is written as T T T
The type of a multi-dimensional array is written as T
CorrectionHere is what's right.
The innermost element type is written only once.
int means an array of arrays of ints.
new double allocates a three-dimensional array of doubles
(or, more precisely, an array of arrays of arrays of doubles).