Considering this code, can I be absolutely sure that the finally block always executes, no matter what something() is?
finally
something()
try
finally will execute and that is for sure.
finally will not execute in below cases:
case 1 :
When you are executing System.exit().
System.exit()
case 2 :
When your JVM / Thread crashes.
case 3 :
When your execution is stopped in between manually.