Advanced
Object-Oriented Programming Concepts
Q84 / 100
In the context of the SOLID principles, what is a "fragile base class" problem?
Correct! Well done.
Incorrect.
The correct answer is A) A scenario where seemingly safe modifications to a base class break the behavior of derived classes that depend on its implementation details
A
Correct Answer
A scenario where seemingly safe modifications to a base class break the behavior of derived classes that depend on its implementation details
Explanation
Subclasses may implicitly rely on a base class's internal behavior (not just its documented contract), so changes to the base — even bug fixes — can silently break subclasses.
Progress
84/100