I am trying to use the finally block without using the try/catch blocks but getting the error in Eclipse.
Can I use the finally block without using the try/catch blocks?
try { // Block of code with multiple exit points } finally { // Block of code that must always be executed when the try block // is exited, no matter how the try block is exited }