Which line of code will add the value "East" to a ListBox object named lstDirections?
A. lstDirections.Add("East")
B. lstDirections.Items.Add("East")
C. lstDirections.AddValue("East")
D. lstDirections.Items.AddValue("East")
Answer: B
Computer Science & Information Technology
You might also like to view...
Developers play different roles during object design
What will be an ideal response?
Computer Science & Information Technology
How are private member variables in a class accessed?
A. Through private functions. B. Through public functions. C. The variable is private so is not available. D. A and B.
Computer Science & Information Technology
Suppose A is an anonymous inner class in Test. A is compiled into a file named _________.
a. A.class b. Test$A.class c. A$Test.class d. Test$1.class e. Test&1.class
Computer Science & Information Technology
When and how does the Mini toolbar appear in Office 2013? What is it used for?
What will be an ideal response?
Computer Science & Information Technology