Answer the following statements true (T) or false (F)
1. Polymorphism allows the addition of classes providing they were at least considered during program development.
2. When a request is made to use a derived-class-object method through a base-class reference, Visual Basic polymorphically chooses the correct overridden method in the derived class that is associated with the object.
3. Polymorphism allows you to command a wide variety of objects of types related by inheritance as long as you know the objects’ types.
4. The use of polymorphism helps promote software extensibility.
5. Abstract methods and properties do not provide an implementation.
1. False. Polymorphism can be used to include classes that were not even envisioned during
program development.
2. True.
3. False. Polymorphism allows you to command a wide variety of objects of types related by
inheritance even if you do not know the objects’ types.
4. True.
5. True.
You might also like to view...
The ________ is the box where the rulers meet, in the upper left corner of a form in Design view
Fill in the blank(s) with correct word
Left, right, centered, and justified are examples of:
A) text alignments. B) formats. C) themes. D) styles.