Finally keyword2977 - Java Quiz Question


What will be the output of following program?

public class Addition {
    public static String bean = "";
    public static String fast(int i) {
        try {
            if (i == 1) {
                System.out.print(i / 0);
            }
            bean += "1";
        } catch (Exception e) {
            bean += "2";
        } finally {
            bean += "3";
        }
        bean += "4";
        return bean;
    }
    public static void main(String args[]) {
        fast(0);
        String fine = fast(1);
        System.out.println(fine);
    }
}


A
134234
B
1342
C
132432
D
Someother output
E
Compilation Error or Runtime Error