Sr.Java Web Developer Question:
Download Job Interview Questions and Answers PDF
Please explain what is exception hierarchy in java?
Answer:
The hierarchy is as follows:
Throwable is a parent class of all Exception classes. There are two types of Exceptions: Checked exceptions and UncheckedExceptions or RunTimeExceptions. Both type of exceptions extends Exception class whereas errors are further classified into Virtual Machine error and Assertion error.
Throwable is a parent class of all Exception classes. There are two types of Exceptions: Checked exceptions and UncheckedExceptions or RunTimeExceptions. Both type of exceptions extends Exception class whereas errors are further classified into Virtual Machine error and Assertion error.
Download Sr.Java Web Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Do you know what is the jspDestroy() method? | Explain me what are the important methods of Java Exception Class? |