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 the difference between int and integer in java?

1083


What is stored procedure. How do you create stored procedure ?

1983


Detail discussions on JVM, memory management and garbage collector.

1031


How do weakhashmap works?

1203


Which is fastest collection in java?

1145


What is an interface in java?

1089


Does isempty check for null?

1070


Explain the difference between abstract classes and interfaces in java?

1264


Which number is denoted by leading zero in java?

1310


What is final keyword?

1238


What are keywords in java?

1051


What is the maximum size of byte array in java?

1071


Can you give names of Container classes?

2352


Is java an open source?

1024


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

1019