Which of the following creates a List of 3 visible items and multiple selections abled?
A. new List(false, 3)
B. new List(3, true)
C. new List(true, 3)
D. new List(3, false)
Answer:B
Which of the following creates a List of 3 visible items and multiple selections abled?
A. new List(false, 3) B. new List(3, true) C. new List(true, 3) D. new List(3, false)
Explanation: From the above statements, the new List(3, true) is the correct answer; this is because of the constructor type. To create a list of 3 visible items along with the multiple selections abled, we have to use the following constructor of the List class.