- public class Ch01
- {
- public static void main(String args[])
- {
- int n[][][]={{{2,9,8,14,88,65},{56,97,58,59,84,87},{15,33,98,5,145,265}},
- {{531,874,879,64,310,12},{541,365,55,877,101,20},{887,654,99,100,32,1}}};
- for(int i=0; i<2; i++)
- {
- for(int j=0; j<3; j++)
- {
- for(int l=0; l<6; l++)
- System.out.println("n["+i+"]["+j+"]["+l+"]="+n[i][j][l]);
- }
- }
- }
- }
複製代碼 |