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...

What are different types of Exceptions?.

Answer Posted / m.k.sreenivas

Checked exceptions:
A checked exception is some subclass of Exception (or
Exception itself), excluding class RuntimeException and its
subclasses. Each method must either handle all checked
exceptions by supplying a catch clause or list each
unhandled checked exception as a thrown exception.

Unchecked exceptions:
All Exceptions that extend the RuntimeException class are
unchecked exceptions. Class Error and its subclasses also
are unchecked.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the method in java?

1136


What is hotjava?

1064


what is collatration?

3324


What are sets in java?

998


What is the advantage of functional interface in java 8?

1046


Is there any sort function in java?

1094


How thread scheduler schedule the task?

1099


Why do we create public static method in java?

1158


Can we override private constructor in java?

1030


Give me some null interfaces in java?

1114


How to check if a list is sorted in java?

1085


What is meant by memory leak?

1153


What is default switch case? Give example.

1058


What is the main method java?

1079


Can a set contain duplicates?

998