123456789101112131415



Question 1: class Test{
public static void main(String args[]){

try {
// some code here
} catch (NullPointerException e1) {
System.out.print("a");
} catch (Exception e2) {
System.out.print("b");
} finally {
System.out.print("c");
}

}
}

If some sort of exception is thrown at line 34, which output is possible?

1. a
2. b
3. c
4. abc