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 Checked & Unchecked exceptions ?

Answer Posted / harmeet

Checked Exceptions must be caught and thrown by the user
otherwise compile time error will be displayed saying it
must be catched. We've to catch those exceptions using try
and catch blocks.
Eg:Class.forName() throws ClassNotFoundException, when
trying to load the specified file in class.forName().

whereas Unchecked Exceptions are handled by jvm, user need
not to handle those exceptions.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

For class CFoo { }; what default methods will the compiler generate for you>?

1116


Explain different ways of creating a thread. Which one would you prefer and why?

1103


What is flag in python?

1081


Define an enumeration?

1095


In the below example, how many string objects are created?

1098


When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?

1063


What is regex java?

1171


How to do encapsulation in java?

1105


What is the independent variable in an experiment?

999


What is finally in Java?

1138


What is ternary operator in java?

1128


Why string is a class?

999


What is tcp and udp?

1071


Is static a singleton?

1028


How is it possible for two string objects with identical values not to be equal under the == operator?

1036