Question OOP-SOLID-0064
HardAn IMachine interface has print(), scan(), fax() and staple(). A simple printer implements three of them as empty methods. Which principle is broken?
- A.
Single Responsibility
- B.
Dependency Inversion
- C.
Sign up free to see the answer and a step-by-step explanation.