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 is the meaning of variable in research?

954


what is the major difference between linkedlist and arraylist in java?

1101


How to access arraylist elements in java?

942


Differentiate between static and non-static methods in java.

999


List primitive java types?

981


Is this valid in java ? Can we instantiate interface in java?

926


How are multiple inheritances done in Java?

1093


How to store image in arraylist in java?

921


What technique is carried out to find out if a particular string is empty?

974


What are the two main uses of volatile in Java?

1012


What is multi-catch block in java?

1023


Implement a stack with push (), pop() and min() in O(1) time.

1035


How many arguments can a method have java?

978


What are the important methods of java exception class?

1026


How do I start learning java?

1006