What is "finally" keyword?

Answer Posted / guest

FINALLY IS KEYWORD USED IN EXCEPTION HANDLING.
IT CREATES A BLOCK OF CODE TO BE EXECUTED AFTER TRY--CATCH
HAS COMPLETED AND BEFORE THE CODE FOLLOWING TRY--CATCH.

Is This Answer Correct ?    11 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you compare two objects?

524


Why does my function print none?

524


How can we make sure main() is the last thread to finish in java program?

675


How is it possible for two string objects with identical values not to be equal under the == operator?

530


What is the purpose of the runtime class in java programming?

570






Can we have two methods in a class with the same name?

588


What super () does in java?

488


How big is a 64 bit float?

542


Explain about fail safe iterators in java?

570


What does snprintf return?

558


Why are there no global variables in java?

587


What does index mean in java?

544


Explain about serializable interface in java?

586


Can we instantiate interface in java?

676


What is java regex?

536