What is finally in exception handling?

Answer Posted / valarmathi

finally is a specialized keyword used in exception handling.
finally is nothing which is given at the end of the
program. it is executed at the last. eventhough an
exception occurs after displaying all the exceptions this
finally block will be displayed. i.e, it is used to
terminate the program.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we pass a primitive type by reference in java? How

709


What is hashing principle in java?

775


What are different data types?

762


What does void * mean?

709


Write a program to check for a prime number in java?

780


Difference between vector and arraylist.

778


What is derived datatype?

878


What is pangram in java?

769


How to create com object in Java?

844


What is the difference between jdk and jre?

826


how to create multithreaded program? Explain different ways of using thread? : Java thread

737


What is treeset and treemap in java?

781


What is the this keyword?

768


What is the program development process?

741


What is variable in java?

722