Match the parts of the try-catch-finally statement with their purpose:
The try-catch-finally statement
Matching
Report a typo
Match the items from left and right columns
try
catch
finally
Executed whether or not the exception is thrown
Executed when an exception occurs
Used to wrap the code that may throw an exception
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.