Examveda
Examveda

What is the purpose of the "finally" block in Java exception handling?

A. To throw exceptions explicitly

B. To specify code that must be executed regardless of whether an exception is thrown or caught

C. To specify the exception type

D. To throw exceptions explicitly

Answer: Option B


This Question Belongs to Java Program >> Exceptions

Join The Discussion

Related Questions on Exceptions