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

throw- means user defined exception. we want throw manually
throw the exception.
throws- means jvm going to take all exception.

Is This Answer Correct ?    33 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which sorting algorithm is best in java?

935


Why string is called as immutable?

888


What is bom encoding?

949


Explain the difference between static and dynamic binding in java?

1017


What is nested top-level class?

983


Can we create a constructor in abstract class?

936


How do I write a self declaration?

1013


What is scope & storage allocation of global and extern variables? Explain with an example

991


Can constructor return value?

903


Explain the inheritance?

923


What is the difference between sleep and wait in java?

901


What is final int?

948


What are the different conditional statements?

935


How is it possible in java programming for two string objects with identical values not to be equal under the == operator?

973


What is the difference between serial and throughput garbage collector?

1031