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 method overriding in java ?
Different types of modifiers?
"We cannot create an object of interface but we can create a variable of it". Discuss the statement with the help of an example. (Plz help us to provide immediately.)
Can a main method be overloaded?
what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent
How many types of assembly languages are there?
What is busy spin, and why should you use it?
garbate collector(GC)?
Suppose there is an Online shopping cart application having different objects like Cart, SelectionItem, Billing, COnfiguration, Authentication, Authorization, PersonalDetails etc. Out of this which one can be made a singleton pattern and why?
What is close method? How it's different from Finalize & Dispose?
0 Answers InfoAxon Technologies,
In java, how we can disallow serialization of variables?
How transient variable is different from volatile variable?