Multiple Choice
What role does an interface play when using a mock class?
A) An interface should be implemented by both the real class and the mock class to guarantee that the mock class accurately simulates the real class when used in a program.
B) The mock class should be an interface that will be implemented by the real class.
C) Interfaces are not involved when using mock classes.
D) The real class should be an interface that will be implemented by the mock class.
Correct Answer:

Verified
Correct Answer:
Verified
Q34: Which of the following is true regarding
Q35: Consider the following code snippet: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB7392/.jpg"
Q36: Consider the following declarations: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB7392/.jpg" alt="Consider
Q37: Which of the following is an event
Q38: If you have multiple classes in your
Q40: Which statement about methods in an interface
Q41: To respond to a button event, a
Q42: Which of the following statements about abstract
Q43: Assume a class implements two interfaces, both
Q44: Which of the following code statements creates