2018年3月20日
摘要: 输出结果为:12 解析: 1、int i = 100/ 0; 会出现异常,会抛出异常,System.out.print(i)不会执行, 2、catch捕捉异常,继续执行System.out.print(1); 3、当执行 thrownewRuntimeException(); 又会抛出异常,这时,除 阅读全文
posted @ 2018-03-20 21:55 火影不火 阅读(1785) 评论(0) 推荐(0) 编辑
摘要: //去重 public class User { private int id; private String name; private int age; public User(){} public User(int id, String name, int age) { super(); this.id = id; ... 阅读全文
posted @ 2018-03-20 16:42 火影不火 阅读(747) 评论(0) 推荐(0) 编辑
摘要: 数组去重 排序 阅读全文
posted @ 2018-03-20 16:36 火影不火 阅读(443) 评论(0) 推荐(0) 编辑