array of array method code example Example: array of array String[][] arrays = new String[][] { array1, array2, array3, array4, array5 };