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

Why are functions called methods in java?

991


Explain the difference between serializable and externalizable in java?

1048


Is java written in c?

953


How do you get the length of a string in java?

987


How do you create a first line indent?

994


write a program that list all permutations of ABCDEF in which A appears before B?

2478


Is java jre still free?

950


What is a stack class in java ?

1102


What is java objectoutputstream?

977


Why is whitespace important?

1076


How to provide security in java

2266


Can we catch more than one exception in a single catch block?

1071


Can we execute java program without main method?

1089


Give the difference between the println method and sqrt method?

1083


When should I use a singleton?

1030