What is the purpose of the finally block in error handling?
Executes only if an error occurs
Executes only if no error occurs
Executes after the try and catch blocks, regardless of errors
Stops the error from propagating further
This question is part of this quiz :
Error Handling and Debugging