Variable reference

I little confused about the following statement:

One implication is that if you pass the reference to an object to a method, the method may change the object.

Could u please explain more about it?

Hey @richivana

When we pass the reference of a variable to an object and then pass the reference of that object to a method then the actual value of the object would change.

Happy learning,