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 difference between throw and throws in exception?

Answer Posted / srinath

throws keyword is used 2 delegate the responsibility of
exception handling 2 caller method where as throw keyword
used 2 hand over the creted customised excetion object 2
jvm 2 handle the excepion.

Is This Answer Correct ?    33 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the static keyword?

1086


Which package is imported by default?

1080


Can a private method of a superclass be declared within a subclass?

1036


What is the difference between error and an exception?

1150


What is the disadvantage of java?

953


Is singleton class thread safe?

996


What does \ mean in regex?

1216


What is foreach loop in java?

1010


Can we restart a dead thread in java?

987


What is sizeof () operator?

973


What is the benefit of abstract class?

948


What are the features of junit?

1041


What is meant by oops concept in java?

990


Why is the type for real numbers called double?

957


How do you ensure that n threads can access n resources without deadlock?

1306