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 relationship between a method?s throws clause
and the exceptions that can be thrown during the method?s
execution?

Answer Posted / chinu

Throws is used in the method definition to mark what all
exceptions the method can throw, so that the code that
accesses the method can give the corresponding catch block
for that exception.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we have multiple classes in single file ?

1070


What is treeset in java collection?

971


How many decimal places is a double?

995


What is style and indentation?

1013


What is fail first in java?

1205


Why hashmap is used in java?

1094


What is an object class?

1026


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

970


How do you override a method in java?

1007


What is the difference between == and === javascript?

1181


What are internal and external variables?

957


Who is the owner of java?

1004


Explain importance of throws keyword in java?

981


Give a brief description of java socket programming?

964


What is meant by bytecode?

1030