//增强版for循环for(接收数组类型 变量名:数组名) for (int[] ints : array1) { for (int anInt : ints) { System.out.print(anInt+"\t"); } System.out.println(); }