纵有疾风起
人生不言弃

标签:system

博客

System类的用法

deee阅读(255)评论(0)

System类的一般用法 System类的一般用法 概述 常用方法 gc exit 退出虚拟机 currentTimeMillis arraycopy 概述 System类包含一些有用的字段 和 方法,它不能被实例化 public stat...

博客

Scanner的使用

deee阅读(303)评论(0)

Scanner的使用(了解) (1)概述 在JDK5以后出现的用于键盘录入数据的类。 (2)构造方法: 常用的格式 Scanner sc = new Scanner(System.in); 构造方法 InputStream is = Sys...