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

How large is a boolean?

1064


Can a static class have a constructor?

1061


What is the escape character in java?

1037


how to create multithreaded program? : Java thread

1006


What is unicode with example?

1311


What is the use of set in java?

1185


What are recursive functions? Give some examples?

1247


Can a final variable be null?

1060


What is static block?

1189


What are the drawbacks of reflection?

1061


What is public static?

1089


What modifiers may be used with an inner class that is a member of an outer class in java programming?

1174


What is == in java?

1075


What is an infinite loop in java? Explain with an example.

1115


How many bytes is 255 characters?

1039