摘要: 异常是封装错误信息的对象,一般包含类型名称,提示信息和代码的错误行号。继承结构如下所示。 Throwable |- Error 系统级错误 |- Exception 可修复的异常 |- 其他Exception |- RuntimeExceptin |- NullPointerException |-... 阅读全文
posted @ 2016-01-26 22:45 冰山雪鸮 阅读(156) 评论(0) 推荐(0) 编辑
摘要: public class Test { public static void main(String[] args) { Generics g1 = new Generics(); Generics g2 = new Generics(); Gener... 阅读全文
posted @ 2016-01-26 21:46 冰山雪鸮 阅读(124) 评论(0) 推荐(0) 编辑
摘要: public class Test1 { public static void main(String[] args){ List list = new ArrayList(); Collections.addAll(list, "95","91","94","93... 阅读全文
posted @ 2016-01-26 15:18 冰山雪鸮 阅读(136) 评论(0) 推荐(0) 编辑