What is finally in exception handling?

Answer Posted / mousumi

irrespective of whether a error occurs or not,the finally
block will be executed,either after the try block or after
the catch block or after boths are executed.

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create an immutable class?

574


Does java allow default arguments?

592


What are actual parameters?

524


What is finalize() function in java?

563


Why do we need wrapper class?

537






What is the meaning of find and replace?

529


What is prime number in java?

539


What differences exist between iterator and listiterator?

575


Differentiate between stringbuffer and string?

600


When is update method called?

672


What is the SimpleTimeZone class?

1801


How do I compare two strings in word in java?

541


Explain how to convert any java object into byte array.

556


Name four container classes.

559


How do you read a char in java?

465