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 do you use parseint in java?

1027


What is difference between equal and == in java?

1005


What is tree node in java?

1001


Give an example of use of pointers in java class.

1069


In which order the iterator iterates over collection?

1026


What is the abstract class?

1090


What are the advantages of exception handling?

1115


what is the constructor and how many types of constructors are used in java?

1036


What are the two types of java?

1248


What do you mean by platform independence? What is an interface?

1072


can rmi and corba based applications interact ?

1124


How does compareto method work?

1020


Write a program to check for a prime number in java?

1089


Explain the polymorphism principle?

1074


Which is illegal identifier in java?

1134