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

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

瀏覽:1486
日期:2025-06-11
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....看更多