← All tasks
What you'll do
An exception is thrown inside a try block that has a matching catch and a finally clause. Order what executes.
Scenario
You want to guarantee a file handle is always closed, even when an error occurs.
Ready to try it?
Create a free account and subscribe to take "Order a try/catch/finally Block's Execution". Earn 100 XP and track your internship progress.
Already have an account? Sign in