Multiple Choice
What role does an interface play when using a mock class?
A) The mock class should be an interface that will be implemented by the real class.
B) The real class should be an interface that will be implemented by the mock class.
C) Interfaces are not involved when using mock classes.
D) 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.
Correct Answer:

Verified
Correct Answer:
Verified
Q38: Event listeners are often installed as _
Q39: The Timer class is found in the
Q40: The method below is designed to print
Q41: Which of the following statements about a
Q42: A/an _ is used to capture mouse
Q44: Which of the following is an event
Q45: Which of the following statements about a
Q46: Consider the following code snippet: public class
Q47: Consider the following declarations: public interface Encryptable<br>{<br>Void
Q48: Which of the following statements about an