Question OOP-SOLID-0066
HardWhich of these violates the Liskov Substitution Principle?
- A.
A subclass method that accepts a narrower range of inputs than the parent method
- B.
A subclass that calls super()
- C.
Sign up free to see the answer and a step-by-step explanation.