//用一维数组bound填充二维数组的第一、二行 Arrays.fill(bound,'H'); Arrays.fill(array,0,2,bound); //打印输出 System.out.println("---"); for (char[] ints : array){//foreach循环不能用于数组赋值,大多用于遍历 for (char x : ints){ System.out.print(x + " "); } System.out.pri...