找考题网-背景图
单项选择题

A. no outputB. no output assert is onC. assert is onD. ……

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 output assert is on
C. assert is on
D. no output An AssertionError is thrown.
E. assert is on An AssertionError is thrown

热门试题