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

What are different ways of object creation in java ?

806


What is difference between path and classpath variables?

836


Why a dead thread occurs?

792


Explain the difference between an Interface and an Abstract class?

908


What is the difference between a scrollbar and a scrollpane?

837


How many types of methods are there in java?

782


Is a class an object?

806


Explain public static void main(string args[]).

882


What is the difference between JVM and JRE?

845


Can a class be declared as protected?

773


What is integer size in java?

737


What is the properties class?

838


Difference between final and effectively final ?

860


What are the advantages and disadvantages of reference counting in garbage collection?

805


Why do we declare a class static?

771