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

How does arrays sort work in java?

970


What is the default size of set in java?

917


What comes to mind when someone mentions a shallow copy in java?

1065


What does indexof mean?

957


What is an infinite loop? How infinite loop is declared?

1025


what is encapsulation in java? Explain

1056


What is the function of java?

954


Does java set allow duplicates?

1030


What is quick sort in java?

954


What methods are used in Servlet?Applet communication?

2185


What is meant by method?

1027


What is the default value of local and global variables?

1047


What are the benefits of operations in java?

953


What are java threads?

1071


What checkbox method allows you to tell if a checkbox is checked?

952