单选题
发布日期:2021-01-28
Compilation succeeds.
Class A does not compile.
The method declared on line 9 cannot be modified to throw TestException.
TestA compiles if line 10 is enclosed in a try/catch block that catches TestException.
题王网让考试变得更简单
扫码关注题王,更多免费功能准备上线!
此试题出现在
其他考试