can anybody explain this arrrays of arrays, i am getting confused with the nested for loops,
and what should i know in arrays of arrays as am preparing for the
SCJP class arr {
public static void main (
String args[]) {
int twoD[][] = new int[2][3];
int i, j, k = 0;
for(i=0; i<2; i++)
for(j=0; j<3; j++) {
twoD[i][j] = k;
k++;
System.out.println(twoD[i][j]);
}
}
}
Thank you very much