Finally is generally used for clean-up code you want to run irregardless of if an exception is thrown or not, for example closing IO streams. You do need a try block, but you don't need any catch...
Type: Posts; User: helloworld922
Finally is generally used for clean-up code you want to run irregardless of if an exception is thrown or not, for example closing IO streams. You do need a try block, but you don't need any catch...