Finally Clause Execution

Q

The code in a finally clause will never fail to execute, right?

✍: FYICENTER.com

A

Not really. Using System.exit(1); in try block will not allow finally code to execute.

2007-04-03, 5188👍, 0💬