posted 16 years ago
Just one object, I believe.
int[][] array is an array of array objects and this statement just creates an array object that can refer to 2 int[] objects. Only when you do:
int array[0] = new int[2];
int array[1] = new int[2]; etc,
will the other objects be created. So, the max would be three objects-considering the fact that the elements are primitives.
Thanks & Regards,<br />Chandramouli Ram