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

Can singleton class be inherited in java?

1004


How many types of memory areas are allocated by jvm?

1045


What is Classloader in Java?

1221


How can you handle java exceptions?

1031


Mention a package that is used for linked list class in java.

982


What is the super void?

902


How to make a read-only class in java?

1165


What sorting algorithm does javascript use?

991


Explain the difference between protected and default access.

999


Difference between static binding and dynamic binding?

1109


What is strings in java?

1043


why would you use a synchronized block vs. Synchronized method? : Java thread

951


What is a numeric format?

1094


What is the purpose of final keyword and when to use it?

1004


Why does java have two ways to create child threads? Which way is better?

1051