Considering this code, can I be absolutely sure that the finally block always executes, no matter what something() is?
finally
something()
try
Yes, it will. No matter what happens in your try or catch block unless otherwise System.exit() called or JVM crashed. if there is any return statement in the block(s),finally will be executed prior to that return statement.