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 |
Real Time sample code for Encapsulation and Abstraction. where to use abstract and where to use specifies like public private.
What is mean by collections in java?
What is function declaration?
What is the use of jtable?
Is java same as core java?
What is the benefit of inner classes in java?
What is casting in java programming?
why java does not support unsigned keyword?
Can I create any Marker Interface? If yes then how can I use it???
when to for abstract class and when to go for interface
Can a constructor have different name than a class name in java?
State some situations where exceptions may arise in java?