Problem Statement
Is a try-finally block valid without a catch?
Explanation
You can use try-finally to guarantee cleanup when you don’t need to handle the exception locally. The exception propagates after finally runs.
Practice Sets
This question appears in the following practice sets: