Can anyone explain this code...what is the use of firset of for loops and second set of for loops:
Class array{
public static void main(
String args[]){
int a[][] = new int [4][5];
int i,j, k=0;
for(i=0;i<4;i++)
for(j=0;j<n;j++){
a[i][j]=k;
k++;
}
for(i=0;i<4;i++){
for(j=0;j<n;j++)
System.out.print(a[i][j] + "");
System.out.println();
}
}
}
Thanks,
Sekhar