What is Java exception handling?



What is Java exception handling?..

Answer / nashiinformaticssolutions

In Java, exceptions are objects. When you throw an exception, you throw an object. However, you can’t throw just any object as an exception — only those objects whose classes descend from throwable. Throwable serves as the base class for an entire family of classes, declared in java.lang, that your program can instantiate and throw.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

How to Sort Strings which are given in List and display in ascending order without using java api.

1 Answers   LIC,


Tell some latest versions in JAVA related areas?

0 Answers  


What is a copy constructor in java?

0 Answers   Amazon,


Can we define constructor in inner class?

0 Answers  


How many types of syncronization?

2 Answers  


What is difference between float and double?

0 Answers  


How to convert string to int in java?

1 Answers  


Why do I need to declare the type of a variable in java?

0 Answers  


How to avoid memory leak in java?

0 Answers  


What do you mean by Function Overloading in java?

0 Answers   Impetus,


How do I find and replace in word?

0 Answers  


What is the use of bufferedreader?

0 Answers  


Categories