集合:
Collection: 无序, 不唯一 (List和Set接口是Collection的子接口)
List: 有序, 不唯一 (包含ArrayList和 LinkedList)
ArrayList: 数组型集合. (常用)
LinkedList: 链式集合.
Set: 无序, 唯一
HashSet
Map: 映射集合, 键-值映射, key-value, 键值对. 键唯一, 值不唯一
HashMap. 常用
迭代器: Iterator
主要方法:hasNext(),判断是否存在下一个元素
next ( ), 返回要访问的下一个元素
注1: 一次循环中, next方法只能使用一次