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

Define reflection.

1002


How does compareto work in java?

1043


Explain methods specific to list interface?

988


What are different type of exceptions in java?

975


Explain the difference between runnable and callable interface in java?

1056


Why is logger singleton?

1130


What are variable arguments or varargs?

1009


What is parameters example?

1035


What are triggers in DB? Explain their types. How do they work?

1092


Difference between static binding and dynamic binding?

1114


What is the purpose of a default constructor?

1099


what is the use of bean managed and container managed with example?

1978


What is the difference between math floor and math round?

1041


How do I remove a character from a string in java?

967


What does you mean in math?

1090