Question
Which of the following implement checked exceptions?
- a. Class A extends RuntimeException
- b. Class A extends Throwable
- c. Class A extends Exception
- d. Class A extends IOException
c and d
Note
Checked exceptions are those classes that extend the Exception class but not the RuntimeException class.
PreviousNextRelated