Trycatch - Java Quiz Question


What will be the output of following program?


A
Print 0-Catch 0-Catch 1-Printed 2-
B
Catch 0-Catch 1-Printed 2-
C
Print 0-Catch 0-Printed 1-Printed 2-
D
Print 0-Catch 0-Catch 1-Printed 1-Printed 2-
E
Some other output
F
Compilation Error or Runtime Error other output