advancedSOLID Principles in Practice
What happens when a child class compiles fine but returns unexpected results compared to its parent contract?
Tests whether you know this is a Liskov Substitution violation even without a compile error — the contract broke silently.
This is a Pro question
Sign in, then upgrade to Pro or Power to unlock this question and the full Interview Prep bank.
What happens when a child class compiles fine but returns unexpected results compared to its parent contract?