试题详情
- 单项选择题 public class TestA{ public void methodA() throws IOException{ //…… } } public class TestB extends TestA{ public void methodA() throws EOFException{ //…… } } public class TestC extends TestA{ public void methodA() throws Exception{ //…… } } 当编译类TestC的时候,结果是哪项?()
A、 正常
B、 编译错误
C、 运行错误
D、 以上都不对
- B
关注下方微信公众号,在线模考后查看
热门试题