Originally posted by Prasun Howlader:
I am sorry because henry told for this statement int[][]a = new int[10][10] and he/she is right.
I don't understand your confusion here.
I mentioned:
int[] a = new int[10]; // creates one object
int[][] b = new int[10][10]; // creates eleven objects
Jim mentioned:
int[][]a = new int[10][]; // creates one object only
int[][]b = new int[10][3]; // creates eleven objects
There is no contradiction here. Your response implies that Jim stated something that conflicts with what I stated. Could you elaborate on why you think which of the four statements are in conflict?
Henry