Solved

Which of the Following Is True Regarding Subclasses

Question 75

Multiple Choice

Which of the following is true regarding subclasses?


A) A subclass that inherits methods from its superclass may not override the methods.
B) A subclass that inherits instance variables from its superclass may not declare additional instance variables.
C) A subclass may inherit methods or instance variables from its superclass but not both.
D) A subclass may inherit methods and instance variables from its superclass, and may also implement its own methods and declare its own instance variables.

Correct Answer:

verifed

Verified

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

Related Questions