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

How do I copy a 2 Dimensional array in Java? - Stack Overflow

int[][]current; int[][]old ... current=old or old=current makes the two array refer to the same thing, so if you subsequently modify current , old will be modified too.

stackoverflow.com

網址安全性掃描由 google 提供