define a array in java code example
Example 1: java array declaration
int[] array = new int[/*size*/];
// Works for double, char, etc.
Example 2: Java create array of array
String[][] arrays = new String[][] { array1, array2, array3, array4, array5 };