a finally block is executed only after the catch block is executed code example
Example: where finally block will not be executed
Finally block will not be executed whenever jvm shutdowns.
If we use system.exit(0) in try statement finally block if present
will not be executed.