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 / bhavannarayana ch

To handover an Exception object to the JVM Programatically by using the "throw"

To delegate the responsibility of Exception handling to the caller by using "throws"

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?

1239


How will you print number in reverse (descending) order in BST.

1042


How do you bind variables?

1159


Which of the following classes will have more memory allocated?

1064


How do you use compareto method?

1069


what is abstract class in Java?

1174


Explain the usage of this with constructors?

1070


How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?

1070


How transient variable is different from volatile variable?

1136


What is the final access modifier in java?

1122


What is backdrop?

1133


Whats the difference between notify() and notifyall()?

1099


What is void data type?

1057


why we use merge option in hybernate pls give a ex snippet

2032


What methodology can be utilized to link to a database?

1016