1Finally block is used for cleaning up of resources such as closing connections,
2sockets etc. if try block executes with no exceptions then finally is called
3after try block without executing catch block. If there is exception thrown in
4try block finally block executes immediately after catch block.
5If an exception is thrown,finally block will be executed even if
6the no catch block handles the exception.