Solved

Assigning a Derived Class Reference to a Base Class Variable

Question 62

Multiple Choice

Assigning a derived class reference to a base class variable is safe:


A) because the derived class has an object of its base class.
B) because the derived class is an object of its base class.
C) only when the base class is abstract.
D) only when the base class is concrete.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions