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 Use of throws exception?

Answer Posted / niranjanravi

it is used to throw the list of exceptions that a method
has to throw.
Syntax:
returntype methodname(list of args)throws
exception1,exception2{
body
}

Is This Answer Correct ?    15 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List any five features of java?

1031


How static variable work in java?

1127


What is collection sort in java?

950


What is http client in java?

1090


What are methods of a class?

1036


What are adapter classes?

1051


What is the vector class in java programming?

1087


When is the arraystoreexception thrown?

1025


Is list ordered in java?

975


What is the final keyword?

988


What is the use of coding?

967


Why synchronization is important?

1028


What defines function?

979


Explain a situation where finally block will not be executed?

1041


Why java is a platform independent? Explain

1092