摘要: 编写一个程序--从文本文件当中读取单词,并将所有不重复的单词按照升序显示,文本文件被作为命令行参数传递。import java.io.BufferedReader;import java.io.FileInputStream;import java.io.IOException;import jav... 阅读全文
posted @ 2015-02-03 23:23 无心流泪 阅读(1133) 评论(0) 推荐(1) 编辑
摘要: 创建两个散列规则集,{“George”,"Jim","John","Blake","Kevin","Michael"} {"George","Katie","Kevin","Michael","Ryan"}求他们的并集,差集,交集。import java.util.HashSet;import ja... 阅读全文
posted @ 2015-02-03 22:55 无心流泪 阅读(474) 评论(0) 推荐(0) 编辑