可学答题网 > 问答 > OCJP(310-065)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Given: If class Donkey&ens


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

  • Ano output
  • Bno outputassert is on
  • Cassert is on
  • Dno outputAn AssertionError is thrown.
  • Eassert is onAn AssertionError is thrown.
参考答案
参考解析:
分类:OCJP(310-065)题库