0
Is it necessary to use &... like c++
When u call change function should we use void change (Person &p) to make it reference?
3 Answers
+ 2
Nope, Java is pass by value, not reference
0
no
0
hi
When u call change function should we use void change (Person &p) to make it reference?