You can think of it as answers to questions.
An object is that ...
It is like any physical thing in the world, a “thing” that is recognizable in itself and has significant properties that distinguishes it from another “thing”. As you know, a dog is a dog because it barks, moves its tail and goes after the ball if you throw it.
A variable is ...
For example, if you look with your own hands. Each of them is the hand itself. They have fingers, nails and bones in their skin, but you know that this is your left hand and the other is your right. That is, you can have two "things" of the same type / kind, but each can be different in its own way, can have different meanings.
Link is where ...
If you look at two houses on the street, although they have their own facade, you can get to each at one unique address, that is, if you are far, like three blocks away or in another country, you can tell the address of the house, because they will still be where you left them, even if you cannot specify them directly.
Now for programming, examples in C ++ - way
class Person{...} Person Ana = new Person();
That is, Ana is a person, but she has unique properties that distinguishes her from another person.
&Ana //This is a reference to Ana, that is to say, a "where" does the variable //"Ana" is stored, wether or not you know it value(s)
Ana itself is a variable for storing the properties of a person named "Ana"
Edgar Sampere Aug 14 '15 at 15:26 2015-08-14 15:26
source share