What is 'finally' method in Exceptions?

Answer Posted / ravikiran(aptech mumbai)

finally method is used to conserve the resources before the
exception is being caught

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is :: operator in java 8?

558


Can a class declared as private be accessed outside it’s package?

514


In which language java is written?

539


Can a boolean be null java?

545


What are strings in physics?

546






Explain the use of volatile field modifier?

634


write a program that list all permutations of ABCDEF in which A appears before B?

2013


What is size () in java?

552


What does it mean that a class or member is final?

559


What is the difference between hashset and treeset in java?

542


What is anagram word?

523


What is the default value of local and global variables?

567


What is the purpose of extern variable?

538


Why wait and notify methods are declared in object class?

599


Explain the difference between intermediate and terminal operations in java8?

568