Java OCA OCP Practice Question 475

Question

Which of the following should always be caught?

  • A. Runtime exceptions
  • B. Checked exceptions
  • C. Assertion errors
  • D. Errors other than assertion errors


B.

Note

Runtime exceptions don't have to be caught.

Errors should never be caught.




PreviousNext

Related