What is the purpose of the finally clause?

Answer Posted / dhawal

the code block in finally block must be executed if
exception throws or not,except if we write system.exit(0);

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?

711


What do you mean by scope of variable?

570


Give an example of call be reference significance.

697


What is the private method modifier?

691


Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?

657






What is assembly language?

638


Where will it be used?

1590


What is a byte array?

705


Can a class be final?

582


Which language is java?

635


Can You Have Virtual Functions In Java?

706


What are the approaches that you will follow for making a program very efficient?

732


What sorting algorithm does javascript use?

622


How many types of assembly languages are there?

623


Which is better ascii or unicode?

661