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 the difference between throw and throws?

Answer Posted / kashi

thow is used to explicitly transfer the userdefined
exception class object from the function to the calling
place.
thows is used to mention or indicate to the compiler as
well as the enduser, that a particular function is proven
to generate exception class object and those objects are
not handled in the function itself.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there a way to increase the size of an array after its declaration?

998


Why is inheritance used in java?

1060


I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?

1118


What is the transient keyword?

2015


Can we assign the reference to this variable?

921


What is class variable java?

958


Explain the public class modifier?

887


What is default locale java?

1045


Should a main method be compulsorily declared in all java classes?

996


What does provide mean construction?

1052


Write a java program that prints all the values given at command-line.

968


Does variable declaration allocate memory?

983


Is hashmap thread safe?

934


What is the use of jtable?

1060


What are "methods" and "fields"?

970