What all gets printed when the following gets compiled and run. Select all correct answers.
public class
test {
public static void main(
String args[]) {
int i=1, j=1;
try {
i++;
j--;
if(i/j > 1)
i++;
}
catch(ArithemticException e)
{
System.out.println(0);
}
catch(ArrayIndexOutOfBoundsException e)
{
System.out.println(1);
}
catch(Exception e)
{
System.out.println(2);
}
finally {
System.out.println(3);
}
System.out.println(4);
}
}
A.0
B.1
C.2
D.3
E.4