Question OOP-SOLID-0044
MediumA Printer interface has print(), scan(), fax() and staple(). A basic printer must implement all four, throwing errors for three. Which principle is broken?
- A.
Liskov Substitution
- B.
Open/Closed
- C.
Sign up free to see the answer and a step-by-step explanation.