Why Do We Use Finally Block #1064
Why do we use finally block?
This multiple choice question (MCQ) is related to the book/course
gs gs111 OOP Object Oriented Programming Java.
It can also be found in
gs gs111 Exception Handling & Static Class Members - OOPs MCQ: Exception Handling - Quiz No.2.
Why do we use finally block?
To execute the block if exception occurred
To execute a code when exception is not occurred
To execute a code whenever required
To execute a code with each and every run of program