Problem Statement
You catch ArithmeticException and Exception in that order. Which is correct?
Explanation
Catch blocks are matched top-down. If a broader type comes first, narrower types are unreachable, causing a compile-time error.
Practice Sets
This question appears in the following practice sets:
