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

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

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is fastest collection in java?

995


What is a treeset in java?

989


Is static a keyword in java?

917


Can we have multiple classes in a single file?

912


Tell us something about set interface.

957


Write a program in java to find the maximum and minimum value node from a circular linked list.

1005


What does microservices mean?

895


How do you reverse sort a list in java?

893


How can an exception be thrown manually by a programmer?

926


How do you find the absolute value?

1001


Why is the singleton pattern considered to be an anti pattern?

838


What is meant by overloading?

1003


Is boolean a wrapper class in java?

999


Difference between association, composition and aggregation?

925


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

964