Answer to this below question is a>.But i am unable to understand this why a is the answer that is Compiler error complaining about the catch block where no IOException object can ever be thrown.please explain me why ?
What is the result of the following code?
01: public class AQuestion {
02:
03: public static void main(
String args[]) {
04:
05: System.out.println("Before Try");
06:
07: try {
08: }
09: catch(java.io.IOException t) {
10: System.out.println("Inside Catch");
11: }
12:
13: System.out.println("At the End");
14: }
15: }
a> Compiler error complaining about the catch block where no IOException object can ever be thrown.
b> Compiler error - IOException not found. It must be imported in the first line of the code.
c< The lines "Before Try" and "At the end" are printed on the screen