Home / Questions / How finally used under Exception Handling?
Explanatory Question

How finally used under Exception Handling?

👁 621 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

The finally keyword is used to create a block of code that follows a try block. A finally block of code always executes, whether or not an exception has occurred.