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?

Answers were Sorted based on User's Feedback



what is the Use of throws exception?..

Answer / ravikiran(aptech mumbai)

throws is used to throw the exception to it's calling method

Is This Answer Correct ?    14 Yes 3 No

what is the Use of throws exception?..

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

More Core Java Interview Questions

What is argument in java?

0 Answers  


How do you take thread dump in java?

0 Answers  


What makes a function well defined?

0 Answers  


Compare Mutex and Semaphore in java.

0 Answers   Ciena,


Can we declare the static variables and methods in an abstract class?

0 Answers  


Is singleton set an interval?

0 Answers  


what is an object and how do you allocate memory to it?

6 Answers   Anshinsoft, Wipro,


Java does not support multiple inheritance. how interface helps in the same?

5 Answers   TCS,


Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?

0 Answers  


What is the meaning of immutable regarding string?

0 Answers  


What is a java developer salary?

0 Answers  


Who is the owner of java?

0 Answers  


Categories