单项选择题

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

相关考题