单选题Given: Which statement is true?()ACompilation succeeds.BClass A does not compile.CThe method declared on line 9 cannot be modified to throw TestException.DTestA compiles if line 10 is enclosed in a try/catch block that catches TestException.
题目
单选题
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.