can anyone help me to understand how the compiler knows which objects we are refering to in class.
let say there are two objects with the same function methods:
and there is a function where i need to relate this two objects.of course one of the object will be passed as argument so that's is simple.
but how can i refer back to the other obj eg obj a?
i kind of know we need to use this.but how?
thanks in advance