So now if I get on my project again this value is going to be hundred.
OK.
Why.
Because we are actually referring to the value of the copy of this valuable.
OK.
So if you want to actually change the value of this speech valuable for this like an object I just need
to type in here first and that speed is for example 20.
OK.
And then at the end of my statement I need to put in a semi-colon.
So as you can see here I am actually changing the value of the copy of this Spaeth variable.
OK.
Another copy of this sweet variable is actually created for this for the lion object.
OK.
So here if you want to output the value of the spit valuable for this first line object.
I just need to type in here.
System that out that princeling.
And then inside Apprentice's I just need to type in here for line that speed and then at the end of
my statement I need to put in a semicolon.
So if I run my project now as you can see the value is 20.
OK.
The value of this fifth variable of this first line object.
OK so this is a very important point that you should always consider about changing the value of the
instance variables of your objects.
OK.
So I think that's enough for this we are in the next tutorial.
I'll talk more about objects and classes.
Thanks for watching.
If you have any questions about objects and classes please post the discussion in the course and then
I'll try my best to answer your questions.
OK.
And I'll see you in the next tutorial.