1
00:00:07,950 --> 00:00:08,970
Hi everybody.

2
00:00:08,970 --> 00:00:10,870
Welcome back.

3
00:00:10,890 --> 00:00:17,460
In this video we will discuss Object Oriented Programming.

4
00:00:18,000 --> 00:00:26,550
Overriding overriding and by phone or in a subclass contains a missile that overrides a method of the

5
00:00:26,550 --> 00:00:29,280
sub superclass of the superclass.

6
00:00:29,280 --> 00:00:38,760
You can also call the superclass missile by calling sober or member entities subclass and self global

7
00:00:38,790 --> 00:00:51,400
entities method instead of self what methods let's open our job it are not but I suppose we have a class

8
00:00:51,400 --> 00:00:54,370
called a class called the skills

9
00:00:58,860 --> 00:00:59,460
class

10
00:01:03,200 --> 00:01:04,370
in common guess

11
00:01:08,880 --> 00:01:18,450
the f we will define the n it missile through failed class to the enlightened self yes.

12
00:01:18,880 --> 00:01:23,320
It underscored in its double Huntress called

13
00:01:28,710 --> 00:01:29,150
some

14
00:01:37,180 --> 00:01:37,620
of us

15
00:01:43,110 --> 00:01:54,650
f we have another meso goal and s ze refer to message have the same and extend self and well but in

16
00:01:54,950 --> 00:01:58,140
a specific message as follows.

17
00:01:59,910 --> 00:02:02,140
Yeah m s g

18
00:02:05,930 --> 00:02:06,070
then

19
00:02:30,540 --> 00:02:32,400
so you have the shares

20
00:02:35,070 --> 00:02:35,970
shift and into

21
00:02:41,230 --> 00:02:52,810
f we want to overwrite this message we will use overwriting in another class called plus H R plus

22
00:02:56,570 --> 00:03:00,270
H R Yes

23
00:03:03,810 --> 00:03:06,050
underscored that

24
00:03:11,900 --> 00:03:18,010
self column enter super

25
00:03:22,700 --> 00:03:22,960
age

26
00:03:26,390 --> 00:03:26,960
and self

27
00:03:33,470 --> 00:03:39,180
double underscore and it double underscore.

28
00:03:42,820 --> 00:03:43,250
Enter

29
00:03:47,520 --> 00:03:48,220
you have

30
00:03:51,450 --> 00:04:13,180
an edgy self.

31
00:04:13,490 --> 00:04:14,310
Good luck.

32
00:04:14,340 --> 00:04:17,320
Another time you don't have the skills needed.

33
00:04:20,870 --> 00:04:25,650
So we have update this uh define missile.

34
00:04:25,740 --> 00:04:32,370
M as G from so you have the skills to good luck another time you don't have the skills needed.

35
00:04:32,450 --> 00:04:38,500
If we have an object called communication equipment.

36
00:04:41,950 --> 00:04:42,310
That's

37
00:04:45,980 --> 00:04:46,880
shift and enter.

38
00:04:47,990 --> 00:04:50,540
So communication

39
00:04:53,300 --> 00:05:01,540
not m as G shift and enter.

40
00:05:01,610 --> 00:05:02,160
Good luck.

41
00:05:02,160 --> 00:05:10,410
And as a time you don't have the skills needed but when we call when we call M S G defined missile.

42
00:05:12,140 --> 00:05:19,390
Throw the object communication it will brand the last message overriding the first message.

43
00:05:19,490 --> 00:05:20,930
Thank you for watching.

44
00:05:20,930 --> 00:05:22,800
See you next election.
