Question OOP-SOLID-0061
HardA ReportGenerator class formats data, writes PDF files and emails them. A change in email settings forces a retest of PDF formatting. Which principle is violated?
- A.
Single Responsibility
- B.
Dependency Inversion
- C.
Sign up free to see the answer and a step-by-step explanation.