Question OOP-EXC-0053
MediumWhen does the finally block NOT run in Java?
- A.
When the try block returns
- B.
When an exception is thrown
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Exception Handling question
When does the finally block NOT run in Java?
When the try block returns
When an exception is thrown
Sign up free to see the answer and a step-by-step explanation.
When the JVM exits, for example through System.exit()
When the catch block runs