本帖最后由 騛鹏 于 2013-3-20 17:29 编辑
- HashMap<String,List<Student>> czbk = new HashMap<String,List<Student>>();
-
- List<Student> yure = new ArrayList<Student>();
- List<Student> jiuye = new ArrayList<Student>();
复制代码 (day16--MapDemo3.java) 这里为何不这样定义: ArrayList<Student> yure = new ArrayList<Student>(); 这样不是更严谨吗
还有 Map<String,List<Student>> czbk = new HashMap<String,List<Student>>(); |