Which of the following are common reasons to add a checked exception to a method signature? (Choose
Question:
Which of the following are common reasons to add a checked exception to a method signature? (Choose three.)
A. To alert developers that the state of the JVM has been corrupted
B. To force a caller to handle or declare potential problems
C. To ensure that exceptions never cause the application to terminate
D. To notify the caller of potential types of problems
E. To give the caller a chance to recover from a problem
F. To annoy other developers.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
OCP Oracle Certified Professional Java SE 11 Developer Practice Tests Exam 1Z0 819 And Upgrade Exam 1Z0 817
ISBN: 9781119696131
1st Edition
Authors: Scott Selikoff, Jeanne Boyarsky
Question Posted: