try catch and finally blocks1582 - Java Quiz Question


What will be the output of the following program?


A
Method throwException
Handled in method throwException
Finally is Always Exceuted
Exception Handled in Main
method doesNotThrowException
Finally is always Executed.
B
method doesNotThrowException
Finally is always Executed.
C
Handled in method throwException
Finally is Always Exceuted
method doesNotThrowException
Finally is always Executed.
Exception Handled in Main
D
Finally is Always Exceuted
method doesNotThrowException
Finally is always Executed.
E
Output cannot be determined
F
Compilation Error or Runtime Error