Java 101 ? question about return values (lost)
Java 101 ? question about return values (lost)
- Subject: Java 101 ? question about return values (lost)
- From: WebObjects <email@hidden>
- Date: Fri, 20 May 2005 18:19:59 -0700
Question: I am calling a function (with boolean return value) in an
instantiated class like so...
TaskReview review = new TaskReview(); //TaskReview.java is a class
review.GetRepsData();
....but, "GetRepsData();" is defined to return a value (a boolean). As you
can see, "review.GetRepsData();" doesn't assign the returned value, and
there are no compilation errors or runtime errors. Why? Why doesn't the
call to this function w/out assigning the return value create any problems?
And where is my mandated return value disappearing to?
I realize this isn't a Java mailing list, but you've all been very generous
in support of Java questions in context to WO dev, and I appreciate it.
Respectfully,
-Bill Reynolds
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden