Solved

Example Code Ch 09-2

Question 30

True/False

Example Code Ch 09-2
Assume that Poodle is a derived class of Dog and that Dog d = new Dog(...) and Poodle p = new Poodle(...) where the ... are the necessary parameters for the two classes.
-Refer to Example Code Ch 09-2: The assignment statement d = p; is legal even though d is not a Poodle.

Correct Answer:

verifed

Verified

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

Related Questions