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

how to split string in java?

1208


What restrictions are placed on method overloading?

1173


Define Multiprogramming and Multiprocessing in java.

1144


What is type safety in java?

944


What is OOP's Terms with explanation?

1184


how to create constants in java?

1078


Explain the difference between association, aggregation and inheritance relationships.

1084


take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).

1977


Explain the use of javap tool.

1137


what are three ways in which a thread can enter the waiting state? : Java thread

1010


What is thread life cycle?

955


Can we call the run() method instead of start()?

1034


What if constructor is protected in java?

1114


What does the “static” keyword mean? Can you override private or static method in java?

1093


What is nan inf?

1072