Multiple Choice
Which statement best describes the relationship between base class and derived class types
A) A derived class reference cannot be assigned to a base class variable and a base class
Reference cannot be assigned to a derived class variable.
B) A derived class reference can be assigned to a base class variable and a base class
Reference can be assigned to a derived class variable.
C) A base class reference can be assigned to a derived class variable,but a derived class
Reference cannot be assigned to a base class variable.
D) A derived class reference can be assigned to a base class variable,but a base class
Reference cannot be assigned to a derived class variable.
Correct Answer:

Verified
Correct Answer:
Verified
Q22: Polymorphism enables you to:<br>A) program in the
Q50: Consider the abstract class below:<br>Public abstract class
Q51: When a request is made to use
Q52: By convention,the name for a Car interface
Q53: An interface reference may invoke only the
Q54: A class that implements an interface may
Q57: Polymorphism allows the addition of classes providing
Q58: Polymorphism specifically enables the creation of programs
Q59: An abstract class cannot have instance data
Q60: Which of the following characteristics could be