—木木木木木木

导航

2019年8月4日 #

Map集合练习题

摘要: 一、分析以下需求,并用代码实现: (1)定义一个学生类Student,包含属性:姓名(String name)、年龄(int age) (2)定义Map集合,用Student对象作为key,用字符串(此表示表示学生的住址)作为value (3)利遍历Map集合中的内容,格式:key--value 二 阅读全文

posted @ 2019-08-04 13:49 —木木木木木木 阅读(597) 评论(0) 推荐(0)