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 |
What is java virtual machine and how it is considered in context of java’s platform independent feature?
You're given a Boolean 2D matrix, can you find the number of islands?
What is meant by memory leak?
why string constant pool in java
Can we make a constructor final?
In a class implementing an interface, can we change the value of any variable defined in the interface?
what is the replacement method of stop() of thread
In Java list the methods that can be overridden?
String is mutable or immutable?
What does exp mean in math?
What is sorting algorithm in java?
What are the data types supported by java?