Solved

Assigning a Subclass Reference to a Superclass Variable Is Safe

Question 32

Multiple Choice

Assigning a subclass reference to a superclass variable is safe ________.


A) because the subclass object has an object of its superclass.
B) because the subclass object is an object of its superclass.
C) only when the superclass is abstract.
D) only when the superclass is concrete.

Correct Answer:

verifed

Verified

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

Related Questions