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. 以上都不對