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 / ranganathkini

The 'throw' statement initiates an exception to be thrown
where as the 'throws' clause declares that the method is
expected to throw 1 or more checked execptions.

Is This Answer Correct ?    43 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we override private method in java?

1076


Why are the methods of the math class static?

1057


Can size_t be negative?

1151


What is passing parameters in java?

1021


What is thread safe java?

895


5 Coding best practices you learned in java?

1005


What is the purpose of a volatile variable?

1012


Name few java.lang classes introduced with java 8 ?

966


Explain about varargs in java?

1106


Explain about abstract classes in java?

1013


What is the difference between a method and a function in alice?

1170


How many types of operators are there?

965


What is class and object in java?

988


What's the difference between comparison done by equals method and == operator?

953


Explain working of call by reference function invoking.

1009