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

What is bufferedreader in java?

1044


What is the final keyword denotes?

1110


Explain an intermediate language?

965


Differentiate between stringbuffer and string?

1023


What is thread life cycle?

956


How do you replace a string in java?

1001


What are different types of arrays?

1014


How do you remove all elements from an arraylist in java?

1022


What are data types in oop?

1032


What are the 4 versions of java?

1161


What are parsers? Dom vs sax parser.

1048


Is map ordered in java?

941


What is the reflection?

1004


What happens to the Exception object after handling an exception?

2368


What is enhanced loop in java?

987