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 / shahnawaz ali shah

Exception is coverable
Error is uncoverable

Exception can be handled
and Error can not be handled

Exceptio is an run time error when an abnormal condition is
occured the jvm detect it and make the object of that
abnormal condition and throws it to its own class and that
object is catched by catched block and catch block handled it

Error is the compile time error not runtime and it is not
covered it is only fixed by a programer.

Note
When Error occur then our programe stops and donot run

but If exception occur then nothing happining only try block
will be suspended and after that if any code is written that
will be executed properly means our system or programe work
properly.

Is This Answer Correct ?    116 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is optional in java 8?

1024


Difference between method overloading and method overriding in java ?

1043


What are the 2 types of java programs?

1060


Write a factorial program using recursion in java?

962


What are the differences between getting and load method?

1096


What is an immutable class?

1096


How can you set an applet’s height and width as a percentage?

889


Can we declare a constructor as final?

1232


What should I import for arraylist in java?

994


What is independent and dependent variables in research?

817


Is class forname reflection?

925


Define canvas?

927


What is defined as false sharing in the context of multithreading?

1002


What are the important methods of java exception class?

1043


what are synchronized methods and synchronized statements? : Java thread

955