Cae Study: FinallyWorks.java
Whether an exception is thrown or not, the finally
clause is always executed.
Case Study: OnOffSwitch.java, WithFinally.java
Even in cases in which the exception is not caught in the current set of catch clauses, finally will be executed before the exception-handling mechanism continues its search for a handler at the next higher level.
Case Study: AlwaysFinally.java