可学答题网 > 问答 > 1z0-851题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Click the Exhibit button. Given:Which


Click the Exhibit button. Given:Which statement is true if a TestException is thrown on line 3 of class B? ()

  • ALine 33 must be called within a try block.
  • BThe exception thrown by method1 in class A is not required to be caught.
  • CThe method declared on line 31 must be declared to throw a RuntimeException.
  • DOn line 5 of class A, the call to method2 of class B does not need to be placed in a try/catch block.
参考答案
参考解析:
分类:1z0-851题库