S
S
stepagrus2017-07-18 20:44:07
Java
stepagrus, 2017-07-18 20:44:07

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

2 answer(s)
L
laxikodeje, 2017-07-18
@laxikodeje

www.cyberforum.ru/java/thread937224.html

D
Denis Zagaevsky, 2017-07-18
@zagayevskiy

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 question

Ask a Question

731 491 924 answers to any question