Liskov Substitution Principle
-
Liskov Substitution Principle (LSP)Modeling/DesignPattern 2020. 2. 28. 00:51
1. Overview We should be to substitute base class objects with child class objects and this should not alter behavior/characteristics of the program. 2. Description For example, Java what we are also talking about behavioral subtypes. That means if the base class object was providing a specific behavior and if that base class object is now substituted with a child class object that behavior shou..