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 instanceof keyword?

1169


Can a class have multiple superclasses?

1079


Can you explain the usages of class.forname()?

1015


Do you know how to reverse string in java?

1089


What are extraneous variables examples?

1017


Difference between predicate, supplier and consumer ?

996


What is the difference between equals() and?

1119


What is the difference between assignment and initialization?

999


What is string and its types?

1093


What is the reason behind using constructors and destructors?

1004


Discuss 2D arrays.

1003


Is singleton set an interval?

901


What is difference between printf and scanf?

1045


What is externalizable interface?

1057


why are wait(), notify() and notifyall() methods defined in the object class? : Java thread

934