company logo

value assignment

Value assignment will assign the value of the right operand to the left operand. This is usually done by copying the value.

When assigning collections by value, instances are copied, when the left operand is the owner of the instances. Otherwise, references to the instances are copied. Thus, as result one may get two different collections referring to the same set of instances.

Generalisations:  assignment operation