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 / pasupathi

throw is used to handle user defined Exception where as throws is used ti handle Predefined exceptions

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is daemon thread and which method is used to create the daemon thread? : Java thread

907


What is a Presistent Object?

1169


How do you implement polymorphism in our day to day life?

3178


What are the access modifiers available in java?

1063


What is thread safe in java?

940


What does snprintf return?

952


Is node a data type in java?

946


Can we make the abstract methods static in java?

996


How do you sort a string in alphabetical order in java?

875


Explain about assignment statement?

977


What is the difference between a synchronized method and a synchronized block?

1017


Can we overload the main() method?

987


What is the difference between final, finally and finalize() in java?

1059


What is a string token?

960


Which java ide is used the most?

948