What is finally in exception handling?

Answer Posted / manikandan adhimoolam

1.its a keyword in java
2.whether or not exception its automatically executed.
3.its follwed by try,catch.
4.its optional block.
5.using for connection close in db connection
6.if dont want execute finally u mention the catch block
system.exit(-1)

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is string made of?

728


What is args length in java?

914


Can you declare an interface method static?

793


What is method overriding in java ?

855


How to display arraylist values in java?

708


what is meant by Byte code concept in Java?

785


List primitive java types?

781


List down the methods and interfaces of collection class in java.

750


What is the difference between superclass and subclass?

774


What are facelets templates?

783


Is arraylist sorted in java?

715


Is it safe to install java on my computer?

767


What happens if a constructor is declared private?

774


What is gc()?

744


Explain how can you debug the Java code?

821