What is finally in exception handling?

Answer Posted / vinoth kumar

In the event of exception handling no matter try block or
catch block is executed after that finally block will
executed.
Normally the finally block used for System.exit(),finalize
method,continue,break statement to direct program execution
after Exception handling.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give a practical example of singleton class usage?

594


How does regex work?

528


What is == and === in javascript?

561


Explain illegalmonitorstateexception and when it will be thrown?

627


Is singleton a bad practice?

581






What is passing value java?

514


What is the difference between serializable and externalizable interfaces?

572


What is parsing in java?

535


Is this valid in java ? Can we instantiate interface in java?

550


What is :: operator in java 8?

560


A person says that he compiled a java class successfully without even having a main method in it? Is it possible?

583


How many boolean functions are there?

509


How do you test a method for an exception using junit?

540


What is difference between array and vector?

541


What are the difference between string, string builder, and string buffer in java?

557