Click to See Complete Forum and Search --> : throw & throws


fresher
October 16th, 2008, 03:30 PM
what is exactly the use of throw and throws ?? what is the use of announcing before hand that this may throw an exception using throws???

keang
October 16th, 2008, 03:44 PM
I suggest you google for it, there are loads of tutorials explaining all about this. I just googled for "java exception tutorial" and got 220000 hits.

fresher
October 17th, 2008, 11:00 AM
for what the hell have u put up ur site for??? i know and i have searched on google for my answers and wit so many hits its difficult to understand which one is the correct one..... coz all hav explained in thr own way..
thanx for nothing...

keang
October 17th, 2008, 11:12 AM
for what the hell have u put up ur site forTo help people solve Java design/coding problems, not to teach the basics or to do peoples homework.
i know and i have searched on google for my answers and wit so many hits its difficult to understand which one is the correct oneWell, if you have already studied the tutorials then you tell us what you think the answer is and we'll tell you if you are correct or not.
thanx for nothingWell nothing is what you deserve with that attitude, so it was my pleasure.

ProgramThis
October 17th, 2008, 01:03 PM
for what the hell have u put up ur site for??? i know and i have searched on google for my answers and wit so many hits its difficult to understand which one is the correct one..... coz all hav explained in thr own way..
thanx for nothing...
Good god, why would you need to learn anything about Java for your Ebonics 101 course? :eek:

Seriously, we do not get paid 6 figures from your institution. Therefore, since we are all willing volunteers, we try to "help" people with legitimate problems. I would be willing to bet that your problem is one of understanding, not because the information out there is terribly confusing, but based on the way you speak/type I would gather that you have a hard time reading in general.

dlorde
October 17th, 2008, 02:35 PM
Fresher - you'll struggle if you can't find what you want with Google and then throw strops when people point it out.

Here's a link that will help: Java Tutorial: Exceptions (http://java.sun.com/docs/books/tutorial/essential/exceptions/).

The truth is, when all is said and done, one does not teach a subject, one teaches a student how to learn it. Teaching may look like administering a dose, but even a dose must be worked on by the body if it is to cure. Each individual must cure his or her own ignorance...
J. Barzun