InterviewSolution
Saved Bookmarks
| 1. |
___________ is favoured over conditionals to better write testable code.(a) Polymorphism(b) Composition(c) Inheritance(d) OverloadingThe question was asked in final exam.The origin of the question is Limitations of Standard Unit Testing in chapter In-container Testing of JUnit |
|
Answer» RIGHT choice is (a) Polymorphism To explain I WOULD SAY: More CONDITIONALS lead to more complex CODE. |
|