Home > DeveloperSection > Interviews > Is there any case when finally will not be executed?

Posted on    April-24-2015 12:10 AM

 Java Exception Handling  Java 
Ratings:
 1 Answer(s)
  389  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Points:4035
Posted on    April-24-2015 12:10 AM

finally block will not be executed if program exits(either by calling System.exit() or by causing a fatal error that causes the process to abort)

Don't want to miss updates? Please click the below button!

Follow MindStick