adplus-dvertising
frame-decoration

Question

Why do we use finally block?

a.

To execute the block if exception occurred

b.

To execute a code when exception is not occurred

c.

To execute a code whenever required

d.

To execute a code with each and every run of program

Answer: (d).To execute a code with each and every run of program

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Why do we use finally block?