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 / vikas deshmukh

both inherit from Throwable, some differences are,

Exceptions:

1)It can be checked or unchecked
2)It indicate an error caused by the programmer
3)It Should be handled at the application level

Errors:

1)Errors are always unchecked
2)Usually indicate a system error or a problem with a low-level resource
3)It should be handled at the system level, if possible

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between notify() method and notifyall() method in java?

914


What is treemap in java?

898


How to perform quicksort in java?

1033


Why does java not support operator overloading?

1083


What is deserialization?

970


What is the default size of load factor in hashing based collection?

986


How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?

971


Can a class have more than one object?

935


What are the loops in java?

947


What is java argument list?

879


How do you sing an Applet ?

2420


What data type is string java?

909


What is array size in java?

916


Can finally block be used without a catch?

929


What are the limitations of procedural programming approach?

998