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 try "Order a try/catch/finally Block's Execution" free for 7 days, no card required. Earn 100 XP and track your internship progress.