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

Is string is a data type in java?

1074


What is try-with-resources in java?

1174


What is the reflection?

1008


What is jit and its use?

991


Can java object be locked down for exclusive use by a given thread?

997


What is dynamic array in java?

1032


How to obtain a performance profile of java program

1034


What is a parameter in a function?

1000


What is bytecode verifier?

949


Similarity and difference between static block and static method ?

919


I want to persist data of objects for later use. What’s the best approach to do so?

939


How do you reverse sort a list in java?

942


Tell some latest versions in JAVA related areas?

984


What's the difference between int and integer in java?

1168


What is a final class in java?

1022