Question: 2. When the compiler insists that an Exception be handled, the *FIRST* thing to consider in deciding whether to provide a catch block VS. adding

2. When the compiler insists that an Exception be "handled", the *FIRST* thing to consider in deciding whether to provide a catch block VS. adding a "throws clause" to the end of the method declaration line is: A. What kind of Exception is being thrown? B. Can this Exception situation be adequately fixed in local (catch block) code? C. Can this Exception optionally be not caught? D. Who is throwing the Exception to my code? (Who am I calling?) E. Who will be catching the Exception if I throw it back to my caller? (Who is calling me?) F. All of the above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!