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

Is a case study a method or methodology?

848


What is the covariant return type?

1022


Can a vector contain heterogenous objects?

1006


What is nullpointerexception?

984


What is better - 'bit-shift a value' or 'multiply by 2'?

1120


What is double parsedouble in java?

958


How a variable is stored in memory?

922


a thread is runnable, how does that work? : Java thread

927


Is java util regex pattern thread safe?

971


When should I use stringbuffer?

957


What is nextline method in java?

974


When will you define a method as static?

1033


What is the difference between a switch statement and an if statement?

1015


What is jee6?

1012


What is callable java?

921