摘要: list接口: 泛型:规定list中的元素的类型 /* * * 泛型不能使用基本数据类型(可以使用基本类型的包装类) * */ public void testBasic() { //List<int> list = new ArrayList<int>();//会报错的 List<Integer> 阅读全文
posted @ 2016-07-13 17:24 有棱角的圆 阅读(175) 评论(0) 推荐(0) 编辑