Does Finally Block Execute Always?
Answer Is -No
Finally Block Does Not Execute Always...
in Java is that finally block will execute even if you put a return statement in the try block or catch block but finally block won't run if you call System.exit() from try or catch block.
Answer Is -No
Finally Block Does Not Execute Always...
in Java is that finally block will execute even if you put a return statement in the try block or catch block but finally block won't run if you call System.exit() from try or catch block.