I understand that a OO method can return a value via a RETURNING parameter, but a value only. Now one can also return a REF TO via such a return parameter. But I don't understand that -- if I have to return a value, how/why can I then return a reference to an object?
Thanks in advance for clarification!
I don't understand why you don't understand. Hopefully methods can return a reference, it's so much useful, and used everywhere. A reference is a "value" too (a memory address, more or less). What is the issue with that?
Add a comment