Which of the following can be inserted in the blank to make the code compile?
public static void main(String[] args) { try { System.out.println("AAA"); } catch ( ___ e) { } catch (RuntimeException e) { } }
C, E.
C is allowed because it is a more specific type than RuntimeException.
E is allowed because it isn't in the same inheritance tree as RuntimeException.
B is wrong since the method called inside the try block doesn't declare an IOException to be thrown.
D is wrong since the same exception can't be specified in two different catch blocks.
A is wrong since it's more general than RuntimeException and would make that block unreachable.