經安全檢測,此網站為安全網站,請放心前往原始網址!

copy a 2d array in java - Stack Overflow

int [][] myInt; for(int i = 0; i< matrix.length; i++){ for (int j = 0; j < matrix[i].length; ... There are two good ways to copy array is to use clone and System.arraycopy() .

stackoverflow.com

網址安全性掃描由 google 提供