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

What is static class

1050


What is the full name of java?

1056


What are advantages and disadvantages of OOPs?

1055


How do you sort words in java?

876


Is intellij better than eclipse?

1022


What is the difference between heap and stack memory?

1134


What is math floor in java?

881


What is double parsedouble in java?

957


What is the difference between stringbuffer and stringbuilder class?

1032


Where is singleton pattern used?

929


What is meant by distributed application? Why are we using that in our application?

909


What do you mean by append?

978


What is difference between calling start() and run() method of thread?

1032


What do you mean by light weight and heavy weight components?

968


What do you understand by a Static Variable?

1138