Static methods - Java Quiz Question


What will be the output of the following program?


A
Exception occurs
B
Exception occurs
Exception A occured with error code = 25
C
Exception A occured with error code = 25
Exception occurs
D
Exception A occured with error code = 25
E
Compilation Error or Runtime Error