1.

A solution to reducing dependencies is to separate code between methods that instantiate new ____________ and methods that provide application logic.(a) Classes(b) Objects(c) Modules(d) FunctionsThis question was addressed to me by my college director while I was bunking the class.I'd like to ask this question from JMock in section Testing with Mock Objects of JUnit

Answer»

Correct answer is (b) OBJECTS

The BEST EXPLANATION: Separation of objects and logic leads to reduced DEPENDENCIES.



Discussion

No Comment Found

Related InterviewSolutions