In Java, an array variable is declared the same way that any Java variable is declared. It has a type and a valid Java identifier. The type is the type of the elements contained in the array. The  notation is used to denote that the variable is an array. Some examples:
int matrix; //this is an array of arrays
Once an array variable has been declared, memory can be allocated to it. This is done with the new operator, which ...
Methods for allocating memory for an array and describe methods for initializing an array are featured.