请问这道题
51. Click the exhibit button.
1. import java.io.lOException;
2. public class ExceptionTest {
3. public static void main (String[] args) {
4. try {
5. methodA();
6. } catch (lOException e) {
7. System.out.println("Caught lOException");
8. } catch (Exception e) {
9. System.out.println("Caught Exception");
10. }
11.}
12. public static void methodA () {
13. throw new lOException ();
14. }
15. }
What is the result?
A. The code will not compile.
B. The output is caught exception.
C. The output is caught lOException.
D. The program executes normally without printing a message.
为什么不能抛IOException异常?