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 is the purpose of checked and unchecked exceptions in JAVA?



What is the purpose of checked and unchecked exceptions in JAVA?..

Answer / Manisha Singh

Checked exceptions are those that a program can reasonably be expected to catch and handle appropriately, otherwise the program will not compile. Unchecked exceptions indicate programming errors or bugs within the code and do not need to be caught by the user. Examples of checked exceptions include IOException, SQLException, and ClassNotFoundException; examples of unchecked exceptions include NullPointerException, ArrayIndexOutOfBoundsException, and IllegalArgumentException.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

what is polymorphism?

5 Answers   Zensar,


What is binary search in java?

1 Answers  


Explain about the select method with an example?

1 Answers  


What is clipping and repainting and what is the relation between them?

1 Answers  


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

1 Answers  


What is high level language in computer?

1 Answers  


What is an abstract class?

8 Answers   DBS, Wipro,


How java is platform independent?

41 Answers   College School Exams Tests, Infosys, TCS,


What is the size of int in 64-bit jvm?

1 Answers  


What does file separator do in java?

1 Answers  


How list contains works in java?

1 Answers  


Why stringbuilder is not thread safe in java?

1 Answers  


Categories