Forums Register Login

Return statement

+Pie Number of slices to send: Send
Is this piece of code

the same as this

or have I mixed up the true and false.
Thanks in advance....
+Pie Number of slices to send: Send
Yup... both methods are equivalent. But how about this instead?



Henry
He was giving me directions and I was powerless to resist. I cannot resist this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 542 times.
Similar Threads
IllegalMonitorStateException (not what you think)
Feed the Pets
Shocking code
simple synchronized question
boolean return question
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 10:00:07.