✏️ Explanatory Question

Which block is always executed no matter which exception is thrown?

👁 28 Views
📘 Detailed Answer
🔴 Hard
28
Total Views
10
Related Qs
0%
Progress
💡

Answer with Explanation

The finally block is always executed, whether or not an exception occurs.
It is used for cleanup operations like closing files or releasing resources.