網友採納: //將二維數組做參數調用sort即可 public static int[][] sort(int[][] array){ int i,j,temp; for(int[] a:array){ temp=a.length; for(i=1;i
zhidao.baidu.com