What will happen if there is an exception in Java finally block ?
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Interview Questions and Answers

 Q1. What will happen if there is an exception in Java finally block ?Core Java
Ans. The regular behavior of exception handling will occur. It will look for any immediate catch handler and if none is provided, it would be transmitted to the callers until a catch handler is found or it's out of main function.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     exceptions  finally


Related Questions

  How compiler handles the exceptions in overriding ?
  What things should be kept in mind while creating your own exceptions in Java?
  Difference between Checked and Unchecked exceptions ?
  Explain java.lang.OutOfMemoryError ?
 What will happen if we don't have termination statement in recursion ?
  Name few Java Exceptions ?
  How can we make sure that a code segment gets executed even in case of uncatched exceptions ?
  Is it necessary that each try block to be followed by catch block ?
  What is exception propogation ?
  Can we have try and catch blocks within finally ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: