Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 240 Bytes

lsp.md

File metadata and controls

5 lines (3 loc) · 240 Bytes

Liskov's Substitution Principle

  • we should be able to replace the references of parent class by its subclass without breaking the code

[simple we can say] : No subclass should provide special meaning to the methods of superclass