Solved

Assigning a Subclass Reference to a Superclass Variable Is Safe

Question 17

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents