posted 24 years ago
Hi,
For all exits(Note this) from a try block, except those due to exceptions, the catch blocks are skipped and control is transfered to the finally block, if one is specified. Even a break statement or continue statement will not overrule this.
For all exits from try block resulting in exceptions, control is transfer to the catch block, if any such blocks are specified. If no catch block matches the thrown exception ,controlled is transferred to the finally block.(Common explaination)