問題詳情

127 


 If class Donkey2 is invoked twice, the first time without assertions enabled, and the second time withassertions enabled, what are the results?
(A) no output
(B) no output assert is on
(C) assert is on
(D) no output  An Assertion Error is thrown.
(E) assert is on  An AssertionError is thrown.

參考答案