Question: Assigning a subclass reference to a superclass variable is safe: Group of answer choices because the subclass object has an object of its superclass. because
Assigning a subclass reference to a superclass variable is safe:
Group of answer choices
because the subclass object has an object of its superclass.
because the subclass object is an object of its superclass.
only when the superclass is abstract
only when the superclass is concrete.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
