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 an Exception ?

Answer Posted / asit nautiyal

An exception is any error condition or unexpected behavior
encountered by an executing progarm othre than logic or
syntex errors.

The error conditions might include conditios such as
division by zero, access to an array to an array outside of
its bounds,etc.

To handle exception we use three statements :
1. try 2. catch 3.finally

Is This Answer Correct ?    7 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the major difference between linkedlist and arraylist in java?

1293


How do you break a loop?

1033


Explain about version control?

1094


Differences between external iteration and internal iteration?

1212


How do you start a new line in java?

1036


What are the principle concepts of oops?

1011


Explain a situation where finally block will not be executed?

1091


What are methods and how are they defined?

1272


What is the use of predicate in java 8?

1014


What is singleton class example?

1083


How do you stop a thread in java?

1111


What are the differences between abstract class and interface?

1158


Which are the two subclasses under exception class?

1166


Can private class be extended java?

1088


In how many ways we can do exception handling in java?

1036