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

Find the value of a specified element of the array arr[i] where 0 <= i <= n-1

979


What is math floor in java?

941


What are decalarations?

1119


Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?

1016


Why main function is static?

1225


give an example for encapsulation?

1040


Is java written in c?

953


Does java support Operator Overloading?

1040


What are abstract methods in java?

1118


What is the final keyword in java?

1418


What is constructor chaining and how is it achieved in java?

1142


What is an error in java?

1147


How do you sort in ascending order in java?

870


What are the characteristics of Final,Finally and Finalize keywords.

1172


What is string and its types?

1179