精选优质文档-倾情为你奉上import java.util.*;public class JuZhen / 创建矩阵public static int createJuZhen(int x, int y) Scanner input = new Scanner(System.in);System.out.println(请输入 + x + 行 + y + 列的矩阵数据(行优先):);int array = new intxy;for (int i = 0; i array.length; i+)for (int j = 0; j arrayi.length; j+) arrayij = input.nextInt();return array;/ 矩阵输出public static void outputJuZhen(int list) for (int i = 0; i