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 / aparna

Checked exceptions should be taken care by the user using
try and catch blocks otherwise runtime error occurs
for eg:
class.forName() method throws ClassNotFoundException which
should be caught between try and catch blocks

Unchecked exceptions are taken care by the jvm itself, user
need not worry about these type of exceptions
for eg:
Integer.parseInt() method throws NullPointerException which
need not be placed between try and catch blocks

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between start() and run() method of thread class?

1020


What is object english?

1012


Which is bigger float or double java?

933


What do you mean by exception handling in Java?

1223


Can we create an object of static class in java?

983


How do you sort an array in java?

944


What are format specifiers in java?

1007


Why do we need singleton?

938


which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?

11011


How the metacharacters are different from the ordinary characters?

982


Which sort is best in java?

918


Why singleton is not thread safe?

951


What is boolean keyword in java?

1087


What is void data type?

934


Can you explain the cs option of java interpreter?

908