1
00:00:00,180 --> 00:00:04,010
So now if I get on my project again this value is going to be hundred.

2
00:00:04,020 --> 00:00:04,540
OK.

3
00:00:04,650 --> 00:00:05,390
Why.

4
00:00:05,400 --> 00:00:12,610
Because we are actually referring to the value of the copy of this valuable.

5
00:00:12,870 --> 00:00:13,460
OK.

6
00:00:13,560 --> 00:00:20,670
So if you want to actually change the value of this speech valuable for this like an object I just need

7
00:00:20,670 --> 00:00:25,470
to type in here first and that speed is for example 20.

8
00:00:25,670 --> 00:00:26,630
OK.

9
00:00:26,670 --> 00:00:30,010
And then at the end of my statement I need to put in a semi-colon.

10
00:00:30,060 --> 00:00:38,240
So as you can see here I am actually changing the value of the copy of this Spaeth variable.

11
00:00:38,480 --> 00:00:39,110
OK.

12
00:00:39,360 --> 00:00:46,050
Another copy of this sweet variable is actually created for this for the lion object.

13
00:00:46,050 --> 00:00:46,810
OK.

14
00:00:47,010 --> 00:00:53,730
So here if you want to output the value of the spit valuable for this first line object.

15
00:00:53,760 --> 00:00:54,970
I just need to type in here.

16
00:00:55,020 --> 00:00:58,820
System that out that princeling.

17
00:00:59,250 --> 00:01:07,200
And then inside Apprentice's I just need to type in here for line that speed and then at the end of

18
00:01:07,200 --> 00:01:09,510
my statement I need to put in a semicolon.

19
00:01:09,750 --> 00:01:14,300
So if I run my project now as you can see the value is 20.

20
00:01:14,460 --> 00:01:15,060
OK.

21
00:01:15,240 --> 00:01:19,950
The value of this fifth variable of this first line object.

22
00:01:19,980 --> 00:01:27,810
OK so this is a very important point that you should always consider about changing the value of the

23
00:01:28,020 --> 00:01:30,690
instance variables of your objects.

24
00:01:30,720 --> 00:01:31,330
OK.

25
00:01:31,770 --> 00:01:35,430
So I think that's enough for this we are in the next tutorial.

26
00:01:35,720 --> 00:01:39,340
I'll talk more about objects and classes.

27
00:01:39,540 --> 00:01:40,570
Thanks for watching.

28
00:01:40,620 --> 00:01:47,520
If you have any questions about objects and classes please post the discussion in the course and then

29
00:01:47,580 --> 00:01:50,020
I'll try my best to answer your questions.

30
00:01:50,040 --> 00:01:50,510
OK.

31
00:01:50,640 --> 00:01:53,250
And I'll see you in the next tutorial.

