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 / ranganathkini

The throws clause of a method basically defines the types of
checked exceptions the method can throw during its
execution. This clause alerts the client code that invokes
the method that it has to have suitable try...catch blocks
to handle the checked execeptions.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of encapsulation in java?

1051


What are the benefits of operations in java?

1129


What do you understand by classes in java?

1047


Which is better arraylist or vector?

1066


Why doesn't the java library use a randomized version of quicksort?

1032


What is lastindexof in java?

1171


What is an argument in java?

986


If a method is declared as protected, where may the method be accessed in java programming?

1053


Can we have more than one package statement in the source file?

1109


What the difference is between execute, execute Query, execute Update?

886


write a program that list all permutations of ABCDEF in which A appears before B?

2517


Differences between external iteration and internal iteration?

1212


What is hashset in java?

1194


When object is created and destroyed?

1145


How do you override a method in java?

1050