Solved

Example Code Ch 09-2

Question 43

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 p = d; is legal even though p is not a Dog.

Correct Answer:

verifed

Verified

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

Related Questions