Question
State the Liskov substitution principle and in what phase of the software development process this principle is used. Explain how it can be verified that
State the Liskov substitution principle and in what phase of the software development process this principle is used. Explain how it can be verified that a software program satisfies this principle
Consider the software design solution shown in figure. Describe the relationship between the three classes. Analyze the design solution and determine if all Object-Oriented design principles are respected. If any of these principles is not respected than explain why, state this principle, and modify the design solution in such a way that all Object-Oriented design principles are respected.
Table cost weight colour Buy() Sell() Furniture cost weight colour Buy() Sell() Chair cost weight colour Buy() Sell()
Step by Step Solution
3.45 Rating (152 Votes )
There are 3 Steps involved in it
Step: 1
The Liskov Substitution Principle LSP is one of the SOLID principles in objectoriented programming I...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started