try catch finally is finally always executed code example
Example 1: finally always after try catch
Finally block is ALWAYS executed AFTER try / catch Javascript blocks.
Example 2: 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.