What is the superclass of exception?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are constructors in java?

761


How is a structure different from array ?

786


What is the this keyword?

768


Explain the selection sort algorithm and state its time complexity?

810


Can we declare the static variables and methods in an abstract class?

757


What is a singleton class in Java?

735


what do you understand by the term string with respect to java?

772


What is use of map in java?

742


Which is better arraylist or vector?

783


What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?

854


Can we overload final method in java?

736


What are the differences between stringbuffer and stringbuilder?

736


What is strings in java?

792


How many bits is a string?

739


What is final modifier?

753