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 is the difference between variable declaration and variable initialization?

756


Is array an object in java?

744


What is the maximum size of arraylist in java?

722


Is java an ide?

732


What is a void in java?

800


What’s the difference between constructors and other methods?

760


What is java and their uses?

779


What are data types in programming?

769


What about features of local inner class?

843


What is the core java?

733


Do we need to manually write Copy Constructor?

796


Can we convert stringbuffer to string?

772


What is methods and methodology?

794


What is an immutable class?

854


What is the difference between stream and buffer?

730