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

Can you have two constructors in java?

897


Can a java program have 2 main methods?

998


How does arrays sort work in java?

957


How can an object be unreferenced?

979


What is the difference between the paint() and repaint() methods?

1009


How do you use spaces in java?

944


What does index mean in java?

925


What is singleton class in ruby?

967


What happens if main method is not static?

949


What is meant by data hiding in java?

1080


What is the concatenation operator in java?

1075


What are measurable parameters?

1013


Why call by value prevents parameter value change?

1010


Which list does not allow duplicates in java?

874


What does the three dot emoji mean?

1050