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

throws is used for throwing an exception from a method to
jvm, the jvm should handle it.where us throw is used when
user needs to raise his own exception.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the benefit of singleton pattern?

988


What is treeset in java collection?

973


Why do we declare a class static?

1157


How many bytes is double?

976


What is dynamic array in java?

1032


Explain about version control?

1046


What is primitive array?

904


What is preflight request?

1021


Explain the difference between jvm and jre?

1040


Define a java class.

1453


What is bufferedwriter?

973


What are the advantages of java over C++?

1201


Do you need to import math in java?

1009


What is the generic function?

990


What is the difference between access specifiers and access modifiers in java?

1179