+ 2
Which method is good "call by value" or call by reference for calling an object??
2 Answers
+ 2
wellĀ it is better to use aĀ call by valueĀ by default and only useĀ call by reference Ā if data changes are expected
+ 1
it all depends on the situation you are at or to be clear enough depends on the problem you are solving.