單項選擇題

Given:

If class Donkey is invoked twice, the first time without assertions enabled,and the second time with assertions enabled, what are the results?()

A.no output
B.no outputassert is on
C.assert is on
D.no outputAn AssertionError is thrown.
E.assert is onAn AssertionError is thrown.

微信掃碼免費搜題