Skip to content

Opening book details…

Can I read Understanding Primitive and Reference Types on EtoBox?

Understanding Primitive and Reference Types by Neelesh Tanwar is a document available to read on EtoBox.

What is Understanding Primitive and Reference Types about?

When a Clicker object receives a click() message, it increments the value of its ct field by 1. This means that if multiple reference variables refer to the same Clicker object, clicking it through one variable will change the observed count through all variables, since they are referring to the same underlying object. Care must be taken when multiple names refer to a single object.

Author
Neelesh Tanwar
Language
EN