java复制数组函数_java复制数组
1.1for循环package ztext;import java.util.Arrays;/*** @author xgj*/public class MyTest {public static void main(String[] args) {int[] oldArray = new int[]{1,2,3,4,5,6};int[] newArray = new int[oldArray.l...