1.

Which of the following is a super class of all exception type classes?(a) Catchable(b) RuntimeExceptions(c) String(d) ThrowableThe question was asked in class test.I want to ask this question from Exception Handling topic in section Exception Handling of Java

Answer»

Correct ANSWER is (d) THROWABLE

For EXPLANATION: Throwable is BUILT in CLASS and all exception types are subclass of this class. It is the super class of all exceptions.



Discussion

No Comment Found

Related InterviewSolutions