返回列表 發帖
  1. import java.io.Console;
  2. public class ch34
  3. {
  4.     public static void main(String args[])
  5.     {
  6.          int n[][]={{1,2,3,4},{5,6,7,8},{9,10,11,12}};
  7.          for(int i=0; i<2; i++)
  8.          {
  9.               for(int i=0; i<2; i++)
  10.              {
  11.                   System.out.println("n["+i+]["+j+j+"]="+n[i][j]);
  12.              }
  13.          }
  14.     }
  15. }
複製代碼

TOP

返回列表