int[][] a=new int[][]{{1,2,3},{2,4,6}};
for(int i=0,il=a.length;i
}
System.out.println();
}
int a[][] = new int[2][3];
a[0] = new int[]{1,2,3};
a[1] = new int[]{2,4,6};
for(int x[] : a){
for(int n : x){
System.out.print(n+" ");
}
}
int [][] arr=new int[][] {{1,2,3},{2,4,6}};
for(int i=0;i
for(int j=0;j
}
}