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 / pranab garai

Exceptions are also kind of errors which we can hadle at
both compile time and run time by using try and catch
blocks.
These are two types: Compile time and runtime.
Sql and IO operations are come under compile time array
index out of bounds and null pointer these are come under
runtime exceptions

Errors are the problems which we cant hadle, like stack
overflow and memory out of bounds like that...

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the abstract class?

978


What is void class in java?

922


How to declare an arraylist in java?

1017


What does exclamation mean in java?

1029


What is singleton class in ruby?

971


What is a for loop in java?

999


Name and explain the types of ways which are used to pass arguments in any function in java.

1023


What does file separator do in java?

979


Can we have any code between try and finally blocks?

973


What are the two types of java?

1074


What are static initalizers in java ?

968


What is the lifetime and scope of a variable?

965


How will you serialize a singleton class without violating singleton pattern?

1911


Describe different states of a thread.

946


What is the difference between a switch statement and an if statement?

1021