阅读背景:

将对象设置为相等而不指向同一参考点

来源:互联网 

How can I set one object equal to another without causing the objects to change when one is changed. For example, if I had object1 and object2, and object1=object2, then anything I do to object2 will also be done to object1 since they are pointing to the same reference point. So I am asking how to set object1=object2 in a way that changing the values of object2 won't affect object1. I hope this makes sense.How can I set one object equal to another witho




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: