Chapter 14: Problem 23
What does a subclass inherit from its superclass?
Short Answer
Expert verified
**
A subclass inherits attributes (data) and methods (functions) from its superclass. It can use, override, or modify these attributes and methods as needed. Inheritance enables code reusability and is a fundamental concept in object-oriented programming.