OCA Java SE 8 Mock Exam - OCA Mock Question 39


Select the correct option(s):

  1. Runtime exceptions are checked exceptions.
  2. If a method throws a checked exception, it must be either handled by the method or specified in its throws clause.
  3. You should not handle errors.
  4. If a method throws a runtime exception, it may include the exception in its throws clause.
  5. You cannot handle runtime exceptions.


b, c, d


A is incorrect. Runtime exception and all its subclasses are not checked exceptions.

E is incorrect. You can handle runtime exceptions the way you can handle a checked exception in your code: using a try-catch block.