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

Explain when classnotfoundexception will be raised ?

1038


What does it mean that a class or member is final?

992


Can two objects have same hashcode?

995


What is the difference between logical data independence and physical data independence?

1036


Is overriding possible in java?

959


Can java program run without jre?

1009


What is the difference between JDK and JVM?

1267


Objects or references which of them gets garbage collected?

964


What is the point of polymorphism java?

1010


What is a boolean in java?

1049


What are thread local variables?

1142


What is the structure of java?

1026


Write a function to find out longest palindrome in a given string?

1053


Does constructor return any value?

1022


What is tcp ip in java?

1110