Forum: Java Mar 16th, 2008 |
| Replies: 7 Views: 833 I haven't done a lot of work in Java recently, so I'm not 100% on this, but try taking out the "static" in the fact method. (If that doesn't work, add the "static" back in and report back to us!)
... |
Forum: Java Mar 16th, 2008 |
| Replies: 7 Views: 833 The return value gets passed back to the calling method. You could do anything with the returned value.
To print the return variable, you may want to add the following line to your main method:
... |