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

How do you access command-line arguments within the code?

0 Answers   Flextronics, Hexaware,


What is a byte string?

0 Answers  


What do you understand by the term polymorphism?

0 Answers  


Write a program for recursive Traverse?

1 Answers  


how can u apply shallow cloning and deep cloning to create object?

1 Answers   Yash Technologies,


Is zero a positive integer?

0 Answers  


What is the purpose of garbage collection in java, and when is it used?

0 Answers  


what are abstract functions?

0 Answers  


What are the two types of exceptions in java? Which are the differences between them?

0 Answers  


What are parsers? Dom vs sax parser.

0 Answers  


What are different types of Exceptions?.

9 Answers  


finalize() method?

5 Answers  


Categories