Question OOP-SOLID-0079
HardTwo modules contain the same tax calculation, and a bug fix is applied to only one. Which principle would have prevented this?
- A.
ISP
- B.
YAGNI
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
SOLID and Design Principles question
Two modules contain the same tax calculation, and a bug fix is applied to only one. Which principle would have prevented this?
ISP
YAGNI
Sign up free to see the answer and a step-by-step explanation.
KISS
DRY