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 a final class ?

1183


What is command line used for?

1093


Can we write multiple catch blocks under single try block?

1088


What is instance example?

959


Can a class extends itself in java?

1030


How does a cookie work in Servlets?

847


What does java final mean?

1045


What is module in oop?

1016


Why is the type for real numbers called double?

961


What 5 doubled?

990


What is private static in java?

1043


What is an abstract class and what is it’s purpose?

963


What is the difference between variable & constant?

1033


What is compareto?

1040


Why doesn't the java library use a randomized version of quicksort?

996