摘要: 1.概述 泛型是JDK1.5以后才有的, 可以在编译时期进行类型检查,且可以避免频繁类型转化! // 运行时期异常 @Test public void testGeneric() throws Exception { // 集合的声明 List list = new ArrayList(); lis 阅读全文
posted @ 2016-07-23 11:47 The-One 阅读(1194) 评论(0) 推荐(0)