what is the purpose of the final in the try-catch-final

Answer Posted / madhu

yes it correct it is finally,the use of finally is,if we
did not catch the exception in try/catch block also finnaly
will catch.

Is This Answer Correct ?    1 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is java based on c?

529


What is hashmap and map?

549


What is difference between array and vector?

529


List the interfaces which extends collection interface?

533


What is a ternary operator in java?

530






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

498


What is flag in python?

550


What is Java Shutdown Hook?

608


State some advantages of java?

709


What is the output of the below java program?

591


What are the concepts of 'OOPS'?

594


What is the independent variable in an experiment?

544


why not override thread to make a runnable? : Java thread

553


What is the purpose of the main method?

538


What is a variable simple definition?

572