java语言当中,Set接口主要有两个实现类,分别是什么()
A: HashSet
B: TreeSet
C: map
D: collection
A: HashSet
B: TreeSet
C: map
D: collection
A,B
举一反三
- 以下哪两个选项是Set接口的实现类() A: HashSet、TreeSet B: list C: map、set D: collection
- Set接口主要有两个实现类,分别是HashSet和TreeSet
- Collection的实现类有哪些 A: ArrayList,HashSet,HashMap,HashTable B: List,Set,Map C: ArrayList,LinkedList,HashSet,TreeSet D: LinkedList,List,Collection
- Set接口主要有两个实现类,分别是HashSet和【】
- 以下__________数据类型不实现Collection接口? A: HashSet B: TreeSet C: ArrayList D: LinkedList E: Map
内容
- 0
HashSet集合实现了()接口 A: List接口 B: Map接口 C: Collection接口 D: Set接口
- 1
Set接口的具体实现类有HashSet和TreeSet
- 2
下面关于集合类说法错误的是()。 A: List继承Collection接口,允许重复,以元素添加的次序来放置元素。 B: Set继承Collection接口,不允许元素重复,其常用的具体实现类有HashSet和TreeSet。 C: Map继承Collection接口,以“键-值”对保存数据,键不允许重复。 D: Map常用的两个实现类是HashMap和TreeMap。
- 3
Set接口给出的实现类有() A: ArrayList B: LinkedList C: HashSet D: TreeSet
- 4
下列哪些类实现了Collection接口?( ) A: ArrayList B: HashSet C: LinkedList D: TreeSet E: HahMap