1.

How Finally Used Under Exception Handling?

Answer»

The finally keyword is used to create a block of CODE that FOLLOWS a TRY block. A finally block of code always EXECUTES, whether or not an exception has OCCURRED.

The finally keyword is used to create a block of code that follows a try block. A finally block of code always executes, whether or not an exception has occurred.



Discussion

No Comment Found