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

"throw" is used to handle user-defined exception.
JVM handles the exceptions which are specified by "throws"

Is This Answer Correct ?    261 Yes 50 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between class forname and new?

1046


Implement two stacks using a single array.

1101


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

1128


How transient variable is different from volatile variable?

1131


how does multithreading take place on a computer with a single cpu? : Java thread

1198


What is the largest number a double can hold?

1089


What is immutable data?

1109


Explain wait(), notify() and notifyall() methods of object class ?

1111


What is the difference between the prefix and postfix forms of the ++ operator?

1056


What does the string method compareto () do?

1112


Can we overload the main() method?

1097


Why java is object oriented?

1078


How many tetrahedral voids are there in bcc?

1168


What is difference between path and classpath in java?

1090


How to disable caching on back button of the browser?

1136