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 difference between throw and throws in exception
handling.

Answer Posted / narayana reddy

throws indicates what type of exception is thrown by
a particular function, where as throw is used to through
user defined exceptions

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is reverse function?

1124


Can we create more than one object singleton class?

1032


What is a treeset in java?

1033


Is it possible to write a regular expression to check if string is a number?

1023


What do you understand by casting in java language?

1029


How transient variable is different from volatile variable?

1073


What is break and continue statement?

1085


What is a jit compiler?

1128


How to perform selection sort in java?

993


Can we have any other return type than void for main method?

951


What is console based application in java?

1031


What are accessor methods in java?

1006


List the interfaces which extends collection interface?

938


What is purpose of find feature?

1076


What is number data type?

1023