Question: If a method has a throw statement, does it always have to have a throws clause in its header? Why or why not?
If a method has a throw statement, does it always have to have a throws clause in its header? Why or why not?
Step by Step Solution
3.40 Rating (163 Votes )
There are 3 Steps involved in it
Throwing an exception is when you cause your program to terminate by using a throw ... View full answer
Get step-by-step solutions from verified subject matter experts
