深拷贝二维阵列
//package com.nowjava;/* from N o w J a v a . c o m - 时 代 Java*/ public class Main { public static int[][] deepCopy(int[][] array) { int[][] clone = new int[array.length][]; for (int i = 0; i < clone.length; i++) { clone[i] = array[i].clone(); } return clone; } public static double[][] deepCopy(double[][] array) { double[][] clone = new double[array.length][]; /* nowjava.com - 时 代 Java 提供 */