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 difference between throw and throws in exception
handling.

Answer Posted / narayana reddy

throws indicates what type of exception is thrown by
a particular function, where as throw is used to through
user defined exceptions

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is main a keyword in java?

978


Is there any limitation of using inheritance?

1089


What is java algorithm?

940


Why do we need strings in java?

987


Is c better than java?

960


How does linkedhashmap work in java?

1021


Explain about the security aspect of java?

967


What are the main concepts of oops in java?

1745


What are the various access specifiers in java?

1002


What is the difference between reader/writer and inputstream/output stream?

1084


What is a lock or purpose of locks in java?

1026


Can we use string in switch case in java?

1056


Explain the difference between extends thread vs implements runnable in java?

1130


Explain when we should make an instance variable private.

1122


Is null an object java?

990