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

Q

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

✍: Guest

A

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

2013-07-11, 2070👍, 0💬