Chapter 28: Problem 5
Why is it better to call back to a superclass method to run default actions, instead of copying and modifying its code in a subclass?
Short Answer
Expert verified
Calling superclass methods promotes code reuse, improves maintainability, and ensures consistency across subclasses.
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.