When finally clause is executed?

Answer Posted / sushant

This is a block which provide gurantee about the particular
code execution, whether there is exception or not.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we initialize the final blank variable?

578


What are java annotations?

641


Explain the scope or life time of class variables or static variables?

513


Write a program in java to find the maximum and minimum value node from a circular linked list.

514


give an example for encapsulation?

578






What are local variables?

589


What do you meant by active and passive objects?

603


Where is singleton pattern used?

520


What is the difference between JVM and JRE?

616


What is parsing and its types?

583


How many digits can a float hold?

533


What are advantages of exception handling in java?

578


What is stream api in java8?

534


Why do we use threads in java?

561


I want to persist data of objects for later use. What’s the best approach to do so?

498