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 access modifiers can be used for variables?

1204


What is the use of protected in java?

1067


What is the difference between multiple processes and multiple threads?

1286


What are the two ways to create a thread?

1059


Explain constructors and types of constructors in java.

1179


What is the base class of all classes?

1106


What are static methods?

1106


What is a superclass?

1406


Can a class have multiple subclasses?

1151


What is cr keyboard?

1339


What is hashset in java?

1192


What is the difference between a static and a non-static inner class in java programming?

1139


What is an 8 bit word?

1098


What is a null point?

1151


What state does a thread enter when it terminates its processing in java programming?

1087