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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is the singleton pattern considered to be an anti pattern?

888


Can Exception handling we can handle multiple catch blocks?

1040


Are global variables initialized to zero?

961


Give a practical example of singleton class usage?

1058


What is floating data type?

983


enlist some features of jdk.

955


Can we create a class inside a class in java?

1082


What is Applet Stub Interface ?

2495


What is ‘has a’’ relationship in java?

1221


What’s the difference between callable and runnable?

1103


What is constant in programming?

1112


What are the benefits of java?

1136


Which is better stringbuilder or stringbuffer?

933


What are the data types supported by java?

1026


What is module with example?

1012