I want to know whether the finally block in a try catch statement is executed always or whether there is a particular scenario which it is not executed.
finally is always called unless if you call System.exit()or if the JVM crashes first.
finally
System.exit()
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
finally
is always called unless if you callSystem.exit()
or if the JVM crashes first.