试题详情
单项选择题 Given: Which statement is true?()

A、Compilation succeeds.

B、Class A does not compile.

C、The method declared on line 9 cannot be modified to throw TestException.

D、TestA compiles if line 10 is enclosed in a try/catch block that catches TestException.

  • D
  • 关注下方微信公众号,在线模考后查看

热门试题