正文

Java集合框架包含以下几种集合类: 1. List接口:有序集合,允许重复元素,如ArrayList、LinkedList。 2. Set接口:无序集合,不允许重复元素,如HashSet、LinkedHashSet、TreeSet。 3. Queue接口:用于队列操作,如LinkedList、PriorityQueue。 4.