package System;
import java.util.Arrays;
/**
* @author jee
* @version 1.0
*/
// System常见的方法和案例
// exit()退出
// arrayCopy() 复制数组元素,比较适合底层调用,一般使用Arrays.copy()完成数组复制
// currentTimeMillens 返回当前时间距离1970-1-1的毫秒数
// gc() 运行垃圾回收机制System.gc()
//
public class System01 {
public static void main(String[] args) {
System.out.println(System.currentTimeMillis());
System.gc();
// System.exit(0);
int a [] ={1,2,6,4};
int b [] = new int[4];
System.arraycopy(a,0,b,1,3);
System.out.println(Arrays.toString(b));
}
}