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

"throw" is used to handle user-defined exception.
JVM handles the exceptions which are specified by "throws"

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do generics work?

997


What happens if an exception is throws from an object's destructor?

1095


How do you avoid global variables?

1142


Which is the class in java?

1117


What is the importance of hashcode() and equals() methods?

1090


Does every java program need a main?

1030


What is meant by javabeans?

1131


What does += mean in java?

1128


What are synchronized methods ?

1154


Explain JMS in detail.

1067


What is null in java?

1023


How do you use substring in java?

1195


What is the use of http-tunneling in rmi?

1103


What is a final class in java?

1061


What is keyword auto for?

1252