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
答案解析:有

微信扫一扫手机做题