Java OCA OCP Practice Question 788

Question

What class of objects can be declared by the throws clause?

Select 3 options

  • A. Exception
  • B. Error
  • C. Event
  • D. Object
  • E. RuntimeException


Correct Options are  : A B E

Note

You can declare anything that is a Throwable or a subclass of Throwable, in the throws clause.




PreviousNext

Related