Answer the question
In order to leave comments, you need to log in
Is it customary in Java to return the result of a method through parameters?
Is it customary in Java to return the result of a method through method parameters?
Yes/No and why?
Answer the question
In order to leave comments, you need to log in
No, because for this you need to fence a garden of mutable objects through which there will be a return. There are no out parameters in Java.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question