Question

Which of the following statements is true about checked exceptions?

A They are required to be caught or declared. Correct Answer Incorrect Answer
B They are automatically handled by the runtime environment. Correct Answer Incorrect Answer
C They occur due to logical errors in the code. Correct Answer Incorrect Answer
D They are not recoverable and cause the program to terminate. Correct Answer Incorrect Answer

Solution

They are required to be caught or declared.

Practice Next

Relevant for Exams:

×
×