Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


explain the classification of exception and hoew to handle
the exceptions

Answers were Sorted based on User's Feedback



explain the classification of exception and hoew to handle the exceptions..

Answer / bindhu

there are two types of exceptions in java

1> checked exceptions

checked exceptions are also known as compile time
exceptions as they are identified during compile time of
the program. It is also known as Normal Exception.
Example: FileNotFoundException,ClassNotFoundException, etc..

2> Unchecked exceptions

Unchecked Exceptions are also known as runtime exceptions
as they are identified during the runtime of the program.
Example: ArithmeticException etc..

Is This Answer Correct ?    11 Yes 2 No

explain the classification of exception and hoew to handle the exceptions..

Answer / ravikiran

Checked and unchecked exceptions
We can handle the exception by make use of
try/catch/finally (or) by using throws clause

Is This Answer Correct ?    4 Yes 3 No

Post New Answer

More Core Java Interview Questions

Is there any case when finally will not be executed?

0 Answers  


What is the difference between an object-oriented programming language and object-based programming language?

0 Answers  


Can we have return statement in finally clause? What will happen?

0 Answers  


What is Hash Code in Java?

6 Answers   Cognizant,


1) There are 10 different threads in runnable state. Each having priority 1 to 10. How does the CPU schedules or executes these threads?

2 Answers   RBS,


What is mutable object and immutable object?

0 Answers  


Is string is a data type?

0 Answers  


Can a static class have a constructor?

0 Answers  


What are the restrictions that are applied to the java static methods?

0 Answers  


Is string a keyword in java?

1 Answers  


Define Multiprogramming and Multiprocessing in java.

0 Answers   Akamai Technologies,


List java api that supports threads?

1 Answers  


Categories