Question
Which of the following are true? (Choose all that apply)
- A. Checked exceptions are allowed to be handled or declared.
- B. Checked exceptions are required to be handled or declared.
- C. Errors are allowed to be handled or declared.
- D. Errors are required to be handled or declared.
- E. Runtime exceptions are allowed to be handled or declared.
- F. Runtime exceptions are required to be handled or declared.
A, B, C, E.
Note
Checked exceptions are required to be handled or declared.
Runtime exceptions are allowed to be handled or declared.
Errors are allowed to be handled or declared, but this is bad practice.
PreviousNextRelated