What is "finally" keyword?

Answer Posted / sravanthi

In the finally block we usually have code that is used to
perform clean up activities corresponding to the code in the
try block.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we override protected method in java?

595


How many types of parsers are there?

563


What is the default value of byte datatype in java?

493


What is double parsedouble in java?

560


Wha is the output from system.out.println(“hello”+null); ?

708






What kind of variables a class can consist of?

643


What is the diffrence between inner class and nested class?

570


Can inner class extend any class?

610


what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread

574


What is consumer interface?

564


How can we create an immutable class in java?

591


How can you share data between two thread in Java?

534


What is difference between word and integer?

607


What is the ==?

477


What is java virtual machine? Explain

573