29. ( ) refers to A list of undesirable persons.
A: "blacklist"
B: "Whitelist"
C: "Green List"
D: "Red List"
A: "blacklist"
B: "Whitelist"
C: "Green List"
D: "Red List"
举一反三
- 29. ( ) refers to A list of undesirable persons. A: "blacklist" B: "Whitelist" C: "Green List" D: "Red List"
- 假设ArrayListlist包含{“red”,“red”,“green”}。以下代码执行后的list是什么?Stringelement="red";for(inti=0;i<list.size();i++)if(list.get(i).equals(element))list.remove(element); A: {"red","red","green"} B: {"red","green"} C: {"green"} D: {}
- 下列哪种方式创建的列表框允许选择多个列表项(<br/>)。 A: List list = new List() B: List list = new List(4) C: List list = new List(4, false) D: List list = new List(4, true)
- 由ArrayList实例化一个具体对象,下面哪个语句是正确的()。 A: ArrayList list = new Object(); B: List list = new ArrayList(); C: ArrayList list = new List(); D: List list = new List();
- Collections中根据指定 Comparator 产生的顺序对指定List集合元素进行排序的方法是 A: void reverse(List list) B: void shuffle(List list) C: void sort(List list) D: void swap(List list, int i, int j) E: void sort(List list, Comparator c)