|
How to pass array to a function in Java so that it returns changed?
I need smth like func (array *a), but in Java.
Yes, I know: Java manipulates objects 'by reference,' but it passes object references to methods 'by value.'
But how to accomplish what I need?
Thanks.
|