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

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.