Suppose a method called finallyTest()
consists of a try block, followed by a catch block, followed by a finally block.
Assuming the JVM doesn't crash and the code does not execute a System.exit()
call, under what circumstances will the finally block not begin to execute?
finallyTest()
in a way that causes another exception to be thrown. exit()
call, the finally block will always execute. D.
Unless execution terminates abnormally, the finally block will always eventually execute.