The fragment below was taken from the link below. My question is: is the paper, used as an example, an OBJECT or a VARIABLE? And what is its name? In the first fragment the paper holds the value of the information written on it and the second example the paper holds an information that makes a reference of something.
Also I would like to know if a reference could be a value, as it is written below.
Everithing can be found in the link below: Data Types
Thank you
Leandro
FRAGMENT
"(…) Imagine you have a piece of paper. You want the paper to hold some information, such as your name. You can write your name on the piece of paper; therefore, the value of the paper is the same as the information it provides. This is an example of value type . If someone wants to know your name, all they have to do is read the paper.
Now imagine, you want the paper to hold your house. That’s not physically possible, so you write the address to your house, hence the value of the paper is a reference to the required information. This is an example of reference type . If someone wants to go to your house, they will first have to read the address on the paper and then get directions to your house. (…)"