Composition, Inheritance, and Liskov Substitution Principle

In software development, organizing our codebase in a way that is easy to maintain is always a good practice, and this idea is not new.&#xA;Actually, I think this started in 1968 when the term software crisis was coined. Since then, we have developed many principles to help us achieve this goal.&#xA;One person who has made many contributions to this field is Barbara Liskov . She is very famous for…