The Liskov substitution principle (LSP) states: Objects of a superclass should be replaceable with objects of its subclasses without breaking the application.
In simple terms: A child class must behave exactly like its parent class, so it doesn't sur…
Source: dev.to
Read the full article on dev.to →
Curated for students by Skill Horizon. Want help applying these ideas to your project? Talk to a mentor for a free consultation.
Want help with your project?
Talk to a mentor for a free consultation — projects, papers, internships & more.