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 is stringjoiner ?

953


What is :: operator in java?

968


What is a char in java?

1039


Explain the scope or life time of class variables or static variables?

986


please send me hr interview questions in it industry

2125


Explain 5 features introduced in jdk 1.7?

1021


What is a flag value?

1019


Explain OOPs concept.

1082


Why can we not override static method?

1104


Describe the various concepts related to object oriented programming (oop).

1028


Do you need to import math in java?

1000


Is void a data type?

953


Which arithmetic operations can result in the throwing of an arithmeticexception?

1018


Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?

1159


Why multiple inheritance is not supported by java?

979