Question: To declare that a method throws a checked exception, you must add a throws clause to the method declaration. code a throw statement before the
To declare that a method throws a checked exception, you must
add a throws clause to the method declaration.
code a throw statement before the method body
code a throw statement within the method body
code a throws clause within the method body
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
