Objects are references is the right explaination. At first you wrote : "Now objects are mutable and hold references to values" witch i interpreted as "Now Objects are mutable and properties hold references to values" which my example disproved.
But yes, One single Object is by itself stored as a reference to the actual object.
Proof
Oh, yeas, my bad.
Objects are references is the right explaination. At first you wrote : "Now objects are mutable and hold references to values" witch i interpreted as "Now Objects are mutable and properties hold references to values" which my example disproved.
But yes, One single Object is by itself stored as a reference to the actual object.
Proof