Collection

来源:互联网 发布:自动发卡对接淘宝 编辑:程序博客网 时间:2024/06/02 20:46

Collection的子接口常用的有List接口和Set接口

集合类的最上层接口是Collection。

集合类位于哪个包中java.util包中。

Collection 接口的特点是元素 是无序可以重复。

Collection接口下的常用集合类(至少4个):

ArrayList;LinnkedList;HashSet;TreeSet


原创粉丝点击