Microsoft
70-498 · Question #40
70-498 Question #40: Real Exam Question with Answer & Explanation
The correct answer is A. Ensure that each class has only one responsibility.. See the full explanation below for the reasoning.
Question
You are planning to develop a new application. You want to be able to measure the quality of the code you create. You need to ensure that it is easy to test and obtain high code coverage. What should you do?
Options
- AEnsure that each class has only one responsibility.
- BEnsure that concrete classes depend only on other concrete classes.
- CCreate as few abstract classes and interfaces as possible.
- DCreate as many static methods as possible.
Community Discussion
No community discussion yet for this question.