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 difference between Exception and Error?

Answer Posted / ritesh srivastav

1 exception is a condition that has been occur in piece of code. that can be handle by programmer.
whereas error is occur at runtime of program.that can not be handle by programmer.
2 eg. of exception is no divide by zero
whereas eg. of error is stack over flow.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are parsers? Dom vs sax parser.

1058


What is bubble sort in java?

1059


What one should take care of, while serializing the object?

905


Is namespace same as package in java?

988


What are the drawbacks of singleton class?

1010


Which is bigger float or double java?

983


What is difference between an object and a class?

1127


What is the difference between multiple processes and multiple threads?

1214


Explain the difference between treeset and treemap in java?

976


What is the use of join method?

1034


What isan abstract class and when do you use it?

1608


How do you delete a list in java?

961


What is mvc in java?

1018


How does singleton class work?

995


What happens when a thread cannot acquire a lock on an object in java programming?

1022