Originally Posted by notig
In chapter 9 about shallow copying it says:
"This means that reference
members in the new object refer to the same objects as equivalent members in the source object"
Does he mean "reference members in the new object refer to the same objects in the source object" ?
Because by saying "equivalent members" ... equivalent can mean the copy of something... which is the same value but different. For instance if two different cups holding their own water are the same level they are "equivalently" filled.
or am I confused
Take an example,we have an expression like "add(a,b)",which means that we
add a and b.Both a and b refer to number.Then we use this function at other place like "add(10,15)",so we can say that the source object is verible and can be used in new object when equipped reference number.