What is the superclass of exception?
Answers were Sorted based on User's Feedback
Answer / krishnakanth
Object<--Throwable<--( Exception & Errors )
Exception<-- ( Checked & Unchecked )
RuntimeException<--Unchecked Exceptions
Checked Exceptions are not derived from the
RuntimeException.But it must caught by the user by using
try catch blocks.
| Is This Answer Correct ? | 9 Yes | 1 No |
Answer / sheetal panchal
java.lang.throwable
Throwable is the superclass for all exceptions and errors.
| Is This Answer Correct ? | 6 Yes | 0 No |
Does every java program need a main?
What is the difference between class & object?
Why we used vector class?
Can we override constructors?
What is array class in java?
Differentiate jar and war files?
How do you add an element to a hashset in java?
does core java and j2se both are same?
How can we get one Interface methods whit out using implementation of interface
What is difference between next () and nextline () in java?
What is the java project architecture?
Can we create an object of static class in java?