随笔分类 -  java练习(Test)

摘要:/*字符流:FileReaderFileWriter。BufferedReaderBufferedWriter字节流:FileInputStreamFileOutputStreamBufferedInputStreamBufferedOutputStream通过刚才的键盘录入一行数据并打印其大写,发... 阅读全文
posted @ 2015-07-12 20:43 beyondbycyx 阅读(364) 评论(0) 推荐(0)
摘要:/*每一个学生都有对应的归属地。学生Student,地址String。学生属性:姓名,年龄。注意:姓名和年龄相同的视为同一个学生。保证学生的唯一性。1,描述学生。2,定义map容器。将学生作为键,地址作为值。存入。3,获取map集合中的元素。*/import java.util.*;class St... 阅读全文
posted @ 2015-07-11 17:41 beyondbycyx 阅读(190) 评论(0) 推荐(0)