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{
//……
}
}
當(dāng)編譯類TestC的時(shí)候,結(jié)果是哪項(xiàng)?()
A. 正常
B. 編譯錯(cuò)誤
C. 運(yùn)行錯(cuò)誤
D. 以上都不對(duì)