1 00:00:00,060 --> 00:00:03,780 No, let's move back to the section. 2 00:00:03,880 --> 00:00:05,410 Yeah, we have a lot to study. 3 00:00:05,430 --> 00:00:11,990 We have a lot of types of inheritance in C++, but only one standard program I have shown you will be 4 00:00:12,000 --> 00:00:14,020 helpful and asset kind of exercise. 5 00:00:14,040 --> 00:00:14,730 What are you going to do? 6 00:00:14,730 --> 00:00:20,400 Is like you can follow the tutorial and after that, you're going to see the multiplex sambas off my 7 00:00:20,790 --> 00:00:26,820 inheritance methods, methods that OK, so we can explain each of these inheritance and what is meant 8 00:00:26,820 --> 00:00:30,710 by each of that and how can we achieve that in C++? 9 00:00:30,750 --> 00:00:36,180 So we have mainly five types of inheritance one a single and advanced multiple. 10 00:00:36,330 --> 00:00:37,740 Another one is multi-level. 11 00:00:37,920 --> 00:00:41,790 Another one is highlighted again, and the last one is so single. 12 00:00:41,790 --> 00:00:45,780 Inheritance is the most common and simple inheritance which we follow. 13 00:00:45,990 --> 00:00:53,070 We have seen it already, so there will be a glass or glass or glass x, which is a base glass and glass. 14 00:00:53,070 --> 00:00:56,370 Here will be that to be inherited by the glass. 15 00:00:56,400 --> 00:00:57,240 No b. 16 00:00:57,450 --> 00:01:02,610 So all the elements of glass will be going to that glass be retrospective. 17 00:01:02,610 --> 00:01:03,780 They access more. 18 00:01:03,810 --> 00:01:04,200 OK. 19 00:01:04,410 --> 00:01:07,590 And this is called single inheritance. 20 00:01:08,250 --> 00:01:14,220 In single inheritance, Iglesias allowed to inherit only from one class, so one subclasses inherited 21 00:01:14,220 --> 00:01:15,840 by one base class. 22 00:01:15,880 --> 00:01:22,920 So that is one based plus subclass and the subclasses inherited from that base class that discard single 23 00:01:22,920 --> 00:01:23,700 inheritance. 24 00:01:23,760 --> 00:01:27,390 So here we have a kind of a program summer program. 25 00:01:27,390 --> 00:01:32,670 I have shown you, for example, like explaining the single inheritance that is already done. 26 00:01:32,700 --> 00:01:38,400 You have a base class called class maker and a class called Class God, and you're going to see that 27 00:01:38,400 --> 00:01:40,320 vehicle is inherited by class. 28 00:01:40,770 --> 00:01:43,710 So what function is that and based class? 29 00:01:43,890 --> 00:01:48,600 It's very good that function is getting access to God as well. 30 00:01:48,720 --> 00:01:49,980 So it's very symbolic. 31 00:01:50,160 --> 00:01:53,820 This imagines we have already covered in our previous program. 32 00:01:53,820 --> 00:02:00,720 Examples also so giving us just some seconds to see this exhibit balls in the media and see this exhibit. 33 00:02:00,840 --> 00:02:04,140 After that, I'm going to that next type of inheritance.