"Sean O'Dell" <sean / celsoft.com> writes:

> So, what's the rule?  Assignment only changes which object the left operand
> points to, but the right can either be an existing object, an object created
> explicitly using 'new' or something similar, or implicitly by expressing a
> string or number?

Assignment assigns a reference to an object to a variable.

Thats it.

Everything on the right hand side is already an object, so there's no
need to think of special cases. Objects aren't created by the
assignment, but by the evaluation of code on the left right hand side.


Dave