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...

difference throws and throw in java

Answer Posted / shanthini

The keyword 'throws' should be used only with the methods while the keyword 'throw'is a clause...
Throws is actually a declaration of any methods and Throw is used to handle the exceptions...

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is style and indentation?

972


What is final keyword in java? Give an example.

981


What does string [] args mean?

971


How many types of the indexof method are there for strings?

941


Why does java doesnt suuport unsigned values?

2193


Explain reverse a linked list iterative solution in java?

889


What are inbuilt functions in java?

1027


Why scanner is used in java?

1032


Difference difference paint() and paintcomponent()?

954


Can we write method inside a method in java?

945


What is java string pool?

968


What are peerless components in java programming?

971


Explain about field hiding in java?

899


Explain the private protected method modifier?

929


Why we cannot override static method?

1006