-->
当前位置:首页 > 题库

单选题:About Java containers, which statement below is NOT correct?

Luz5年前 (2021-05-10)题库1694
About Java containers, which statement below is NOT correct? @[D](2)

A. `ArrayList` holds the elements in a particular sequence.
B. `TreeSet` cannot have any duplicate elements.
C. `LinkedList` holds the elements in a particular sequence.
D. `List`, `Set` and `Map`, they all have `stream()` interface.




A.`ArrayList` holds the elements in a particular sequence.
B.`TreeSet` cannot have any duplicate elements.
C.`LinkedList` holds the elements in a particular sequence.
D.`List`, `Set` and `Map`, they all have `stream()` interface.


答案:D