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

Is a char always 1 byte?

939


What is bubble sorting in java?

997


Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?

996


What is a private class in java?

982


What is a static class in java?

968


Difference between vector and arraylist.

1050


How is Object Oriented Programming different from Procedure Oriented Programming?

998


Can we declare a static variable inside a method?

959


Is main is a keyword?

955


Discuss different types of errors that generally occur while programming.

987


What is bigger kb or mb?

985


What are register variables what are the advantages?

872


Which number is denoted by leading zero in java?

1202


What is difference between == equals () and compareto () method?

993


why would you use a synchronized block vs. Synchronized method? : Java thread

906