Array of arrays also consists of multi dimensional arrays. Multi-dimensional variables could be declared by specifying the every extra index. This is done by using square bracket set.
In case of a multi-dimensional array, memory is allocated by specifying memory for leftmost (1st) dimension.
int myArray[ ][ ] = new int ;
Rest of the dimensions can be allocated separately.
In multi-dimensional array, every array’s