Multiple Choice
Which of the following statements about testing a class is correct?
A) A unit test verifies that only one method within a class works correctly.
B) A unit test verifies that a class works correctly when it is in a complete program.
C) A unit test verifies that a class works correctly in isolation, outside a complete program.
D) A unit test does not need to know what results are expected.
Correct Answer:

Verified
Correct Answer:
Verified
Q7: Given the following class definition, which of
Q8: The utility that formats program comments into
Q9: Which of the following statements about classes
Q10: Consider the following code snippet:<br>Coin coin1 =
Q14: Insert the missing code in the following
Q15: Insert the missing code in the following
Q16: Which operator should you use to test
Q17: Which statement illustrates the invocation of a
Q23: You should declare all instance variables as
Q71: The public constructors and methods of a