1.

A ________ is a piece of code that’s inserted at runtime in place of the real code.(a) Stub(b) Mock Object(c) Packet(d) JammerThe question was posed to me in an online quiz.This interesting question is from The Mock Objects Solution topic in section In-container Testing of JUnit

Answer» CORRECT ANSWER is (a) Stub

Explanation: STUBS are used in order to isolate the CALLER from the real IMPLEMENTATION.


Discussion

No Comment Found

Related InterviewSolutions