A "two-dimensional array" in Java is actually a one-dimensional array of one dimensional arrays. The declaration you've shown constructs a one-dimensional array of size 10 which can host one-dimensional arrays of in -- but all 10 elements of that array are null. If you say
int x = new int;
then you'd actually allocate 11 objects: a single one-dimensional array which can hold 10 arrays of int, and 10 arrays of 10 ints.