Possible Duplicate:
Is there such case when in try\finally block the finally won't be executed?
I'm relatively new to java and I've just heard about try-catch
blocks (3 minutes ago to be exact).
In a try-catch
block, is the finally
part (when present) ever not executed?
try {
if (choice) {
//...
} else {
//...
}
} finally {
doesThisEverNOTrun();
}