Exam 11: Classes and Objects
Exam 1: An Introduction to Visual Basic 201259 Questions
Exam 2: Designing Applications57 Questions
Exam 3: Using Variables and Constants58 Questions
Exam 4: The Selection Structure57 Questions
Exam 5: More on the Selection Structure56 Questions
Exam 6: The Repetition Structure59 Questions
Exam 7: Sub and Function Procedures56 Questions
Exam 8: String Manipulation57 Questions
Exam 9: Arrays57 Questions
Exam 10: Structures and Sequential Access Files58 Questions
Exam 11: Classes and Objects58 Questions
Exam 12: Web Applications55 Questions
Exam 13: Working With Access Databases and Linq57 Questions
Exam 14: Access Databases and SQL58 Questions
Select questions type
In a Property procedure,the code contained in the ____ block allows an application to retrieve the contents of the Private variable associated with the property.
(Multiple Choice)
4.9/5
(35)
An application needs to calculate the sales tax for an order.Which of the following is a valid example of a variable in a class that can be validated in the Set block of a Property procedure?
(Multiple Choice)
4.7/5
(31)
Rather than reuse the Shoe class,you have decided to derive the Boot class from the Shoe class.Which of the following creates the derived Boot class?
(Multiple Choice)
4.8/5
(30)
Write the statements to create the default constructor for the Furniture class statement in the previous problem.Then write the Dim statement to use the default constructor to instantiate a Furniture object,assigning the object to a variable named sofa.
(Essay)
4.9/5
(38)
A(n)____ property gets its value from the class itself rather than from the application.
(Multiple Choice)
4.8/5
(25)
The Shoe class is used to create an object that represents a standard shoe.The Shoe class needs to be used in an application for boots.You have copied the Shoe.vb file into the boot application.What do you need to do next to include the file in the boot application?
(Multiple Choice)
4.7/5
(41)
A Property procedure begins with the keywords ____. 

(Not Answered)
This question doesn't have any answer yet
What are classes and objects? How are they used in object-oriented programming?
(Essay)
4.7/5
(45)
Which of the following instantiates a Product object and assigns it to the bookcase variable?
(Multiple Choice)
4.9/5
(45)
When two or more methods have the same name but different parameters,the methods are referred to as ____.
(Multiple Choice)
4.9/5
(30)
____ are the operations (actions)that the object is capable of performing.
(Multiple Choice)
4.9/5
(41)
You indicate that a class is a derived class by including the ____ clause in the derived class's Class statement.
(Multiple Choice)
4.9/5
(38)
Private variables represent properties that will be seen by anyone using an object created from the class.
(True/False)
5.0/5
(33)
In the following instruction,Room is a(n)____. Dim bedroom As New Room
(Multiple Choice)
5.0/5
(39)
If you create an auto-implemented property named State,Visual Basic will create a hidden Private variable named ____.
(Multiple Choice)
4.8/5
(37)
Showing 41 - 58 of 58
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)