OOP & Design Patterns - Liskov Substitution Principle - Subtype Behavioural Contract
Consider a subclass that overrides a method with a covariant return type but also changes the method's side effects in a way that violates the superclass's behavioral contract. How should this be addressed to maintain LSP compliance?
