记忆性冷函数

Arrays.copyOf(原数组,长度)函数完成了数组的复制! arr = Arrays.copyOf(nums,nums.length);

猜你喜欢

转载自blog.csdn.net/xuchonghao/article/details/80823647