多做题,通过考试没问题!

Oracle认证考试

睦霖题库>其他计算机考试>Oracle认证考试

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.
正确答案:D
答案解析:
进入题库查看解析

微信扫一扫手机做题