What is finally in exception handling?

Answer Posted / niranjanravi

finally is a keyword we have in Exception handling.It
creates a block of code to be executed after try or catch
has completed and before the code following the try or
catch.finally block will be executed whether or not an
exception is thrown.

Is This Answer Correct ?    18 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a map? What are the implementations of map?

571


what r advatages of websphere? & how to deploy?

1640


What is hashset in java?

534


What is not object oriented programming?

511


What are different types of classloaders?

591






Why string is immutable or final in java

630


In how many ways we can do exception handling in java?

579


Why vector class is used?

546


How do you check if a number is a perfect square?

518


extending thread class or implementing runnable interface. Which is better? : Java thread

569


What are structs in java?

578


What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?

633


How to perform quicksort in java?

573


Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me

1366


What is the use of arraylist class in java?

561