摘要:
一、什么是异常 程序在运行过程当中发生的问题 点击查看代码 public class Main1 { public static void main(String[] args) { System.out.println("发生异常前"); int i = 1 / 0 ;//这里发生异常 Syste 阅读全文
摘要:
特性 无序,不可重复的集合 其核心实现类为HashSet HashSet的本质是HashMap的Key 创建集合 Set<String> s = new HashSet<String>(); 元素的添加(重点) 点击查看代码 //创建集合 Set<String> s = new HashSet<St 阅读全文
摘要:
核心的类:java.util.Date,当前的计算机时间、 点击查看代码 public static void main(String[] args) { Date d =new Date(); System.out.println(d);//获取UTF时间格式 long time =d.getTi 阅读全文