I am printing an array of arraylist which contains 2d array.
ArrayList<ArrayList<ArrayList<Array>>> sols;
I am trying to print this:
System.out.print(sols.get(0).get(0).get(0));
was expecting a 2d array as it was the lowest level of the variable
I get this instead
app.Array@42037252
How can I print the specified 2d array?
EDIT
this is my Array class
public class Array {
int[][] array;
public Array(int[][] initialArray){
array = initialArray;
}
}