I have a try/catch block with returns inside it. Will the finally block be called?
For example:
try {
something();
return success;
}
catch (Exception e) {
return failure;
}
finally {
System.out.println("i don't know if this will get printed out.");
}
try { return true; } finally { return false; }