System类的用法 2020/12/12 | 博客 | 评论(0) | 阅读(26) System类的一般用法 System类的一般用法 概述 常用方法 gc exit 退出虚拟机 currentTimeMillis arraycopy 概述 System类包含一些有用的字段 和 方法,它不能被实例化 public static void gc():运行垃圾回收器。 public static void exit(int status) public static long currentTimeMillis() pu...