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 the difference between throw and throws?

Answer Posted / kashi

thow is used to explicitly transfer the userdefined
exception class object from the function to the calling
place.
thows is used to mention or indicate to the compiler as
well as the enduser, that a particular function is proven
to generate exception class object and those objects are
not handled in the function itself.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the different forms of polymorphism?

986


How many bits are in a sentence?

1155


What is difference between null and void?

957


What is function declaration?

946


Difference between comparator and comparable in java?

1075


How many bits is a boolean?

1068


What is variable explain?

985


What is the different between get and post?

956


How do you remove all elements from an arraylist in java?

1007


What is user defined exception in Java?

1060


What is the purpose of finalization in java programming?

1022


Differentiate between stringbuffer and stringbuilder in java.

1010


What is string variable?

1036


What is sleep method?

1126


What happens to a static var that is defined within a method of a class?

1016