单项选择题

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.