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 / chandra sekhar dash

Exceptions are also one 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 Exceptions come under compile time
ArrayIndexOutofbounds and NullPointer these come under
runtime Exceptions

Errors are the problems which we cant hadle, like stack
overflow and memoryoutofbounds etc.,these generally comes at
compile time

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a variable analysis?

1070


What is null object in java?

1013


Can you inherit a constructor java?

1077


Is jdk required on each machine to run a java program?

1285


Which is the best approach for creating thread ?

1211


How does predicate work in java?

977


Name few "optional" classes introduced with java 8 ?

1131


How many tetrahedral voids are there in bcc?

1089


What is meant by final class?

1104


What is a lock or purpose of locks in java?

1018


What is unmodifiable list in java?

953


What is the simpletimezone class in java programming?

1126


What is autoboxing and unboxing?

995


How do you compare arrays in java?

950


What is a buffer in computer?

997