Question 1. Click() events are the default event for which type of objects? A. M
ID: 3705134 • Letter: Q
Question
Question 1. Click() events are the default event for which type of objects?
A. MenuItem
B. Radio Button
C. Button
Question 2. A class from which an object cannot be instantiated could be a(n):
A. abstract class
B. derived class
C. virtual class
Question 3. Abstract classes can include
A. properties and data members
B. abstract methods and nonabstract methods
C. all of the above
Question 4. Interfaces can include
A. data members
B. properties
C. abstract methods
Question 5. What namespace must be referenced in order to instantiate objects from control classes such as Label, Button, and Textbox?
A. System.Forms.Control
B. System.Windows.Controls
C. System.Windows.Forms
Question 6. A multicast delegate is one that:
A. has more than 1 return type
B. has more than 1 parameter
C. has more than one method wrapped to it
Question 7. A default event-handler method for a ListBox object is:
A. AddArray()
B. AddRange()
C. Add()
Question 8. A default event handler method for a ListBox object is:
A. SelectedIndexChanged( )
B. KeyPress()
C. Click()
Question 9. The property that returns a collection of the indexes selected for a ListBox object is:
A. Selected Items
B. Text
C. Items
Question 10. The GroupBox provides more functionality for which type of objects?
A. Button
B. Checkbox
C. RadioButton
PLEASE ANSWER ALL
Explanation / Answer
1.
MenuItem is a class whose default event is Click(). MenuItem consists of all the items in a menu
So, answer is A
2.
An abstract class is a class that is declared with keyword abstract. It has the property that objects of abstract clas cannot be created. Hence, Abstract class cannot be instantiated.
So, answer is A
3.
An abstract class can have both abstract and non-abstract methods. It is interface that can have only abstract methods.
An abstract class can also have properties and data members.
So, answer is C
4.
Interface is 100% abstract class i.e. it can have only abstract methods.
So, answer is C
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.