①Java集合类主要由两个接口Collection和Map派生出来的
②Collection有三个子接口:List,Set,Queue。
List代表了有序可重复的集合,可以插入多个null
常用的实现类有:ArrayList,LinkedList
Set代表了无序不可重复集合,只允许一个null,只能根据元素本身来访问
常用的实现类有:HashSet,LinkedHashSet,TreeSet
③Map代表的是存储key-value对的集合,常用的实现类有:HashMap,LinkedHashMap,TreeMap,HashTable,Properties