Question: What is true about Finally? Question 5 Select one: a . Finally clause is executed only when an exception has been handled. cross out b

What is true about Finally?
Question 5 Select one:
a.
Finally clause is executed only when an exception has been handled.
cross out
b.
Finally is mandatory to clean up used resources before a crash takes place.
cross out
c.
Finally clause is executed no matter what happens.
cross out
d.
Finally clause is executed when no exceptions are thrown.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!