1.System方法 语法:public static void arraycopy( object src. int srcpot. object deat. int destpos. int length) 参数:src---原数组 srcpot--原数组的起始位置 deat--目标数组 destpos--目标数组的起始位置 length--要复制的数组元素的数量 System.Arrayscopy(src) 2.Arrays方法 语法:int [] copy of(int[] original,int newlength) 参数: original--要复制的数据 newlength--要返回的副本长度 Arrays.copyof( original newlength)
转载于:https://www.cnblogs.com/123456lala/p/6858742.html
相关资源:数据结构—成绩单生成器