Question: When attempting to catch different exceptions in a hierarchy, the rule is that _ _ _ _ _ . Group of answer choices a catch
When attempting to catch different exceptions in a hierarchy, the rule is that
Group of answer choices
a catch clause for a superclass has to come before the catch clause for a subclass
a catch clause for a subclass cannot be in the same trycatch statement that has a catch clause for a superclass
a catch clause for a superclass has to come after the finally block
a catch clause for a superclass cannot be in the same trycatch statement that has a catch clause for a subclass
a catch clause for a subclass has to come before the catch clause for a superclass
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
