The current output would look something like:
[I@1e63e3d
...
which shows the string representation for an integer array.
You could use Arrays.toString
to display the array content:
for (int[] val : array1) {
System.out.println(Arrays.toString(val));
}