I\'m studying for my test in Object Oriented Programming and I was wondering if there is any case what so ever that considering the following code:
try {
Yes. If you crash the Java VM or otherwise muck things up via native code, cause the program to terminate, or loop/wait infinitely inside the try block.
try
Those are the only three cases which will avoid executing the finally block.
finally