问答题

【参考答案】

用集合--java.util.Set接口。例如:Set set=new HashSet()。