+ 2
Which method is good "call by value" or call by reference for calling an object??
2 ответов
+ 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.