types of exceptions

Answer Posted / anonymous

2 Types of Exception
1) Checked Exception : All exception classes that come
under Hierarchy of Throwable except "Runtime Exception"
and "Error" are checked exception. Eg: IOException etc.

2) Unchecked Exception : All classes that come under
hierarchy of "Runtime Exception" and "Error" are unchecked
exception For Eg. : NullPointerException,
ArrayIndexOutOfBoundsException etc.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is message driven beam?

577


If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?

1736


What is the difference between the session.get() method and the session.load() method?

598


what is the use of State Factories?

1905


What is the difference between session and entity beans?

576






What restrictions are placed on the values of each case of a switch statement?

533


Explain the different types of memory used by jvm?

605


whats is mean by connectionpooling

1562


How many times may an objects finalize() method be invoked by the garbage collector?

668


What is Remote Server?

1682


What are externizable interface?

574


In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?

578


Explain the difference between object state and behavior?

562


What is clustering? What are the different algorithms used for clustering?

574


How are the elements of a cardlayout organized?

594