OK-
Someone please tell me if i am understanding this correctly. When we pass Object O to aMethod, both the local N and O are pointing to the same memory location. So, if we do an operation or call a method ON the local N, we will be also changing the value of O. But, once we say N = to something else (meaning a new memory location) then we will not be changing O. Is this correct?
Thanks-
Zac
Someone please tell me if i am understanding this correctly. When we pass Object O to aMethod, both the local N and O are pointing to the same memory location. So, if we do an operation or call a method ON the local N, we will be also changing the value of O. But, once we say N = to something else (meaning a new memory location) then we will not be changing O. Is this correct?
Thanks-
Zac