Solved

Which of the Following Is True Regarding Inheritance

Question 57

Multiple Choice

Which of the following is true regarding inheritance?


A) When creating a subclass, all methods of the superclass must be overridden.
B) When creating a subclass, no methods of a superclass can be overridden.
C) A superclass can force a programmer to override a method in any subclass created from it.
D) A superclass cannot prevent a programmer from overriding a method in any subclass created from it.

Correct Answer:

verifed

Verified

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

Related Questions