C++ Multiple Inheritance Explained | Cpp Video Tutorial

preview_player
Показать описание
In this c++ Object Oriented Programming Video tutorial, you will learn about the multiple inheritance.

You are gonna learn how to inherit from more than one base class, how the multiple inheritance works in detail with example.

Learn Programming in HINDI at our youtube channel

Catch us on SocialMedia
Рекомендации по теме
Комментарии
Автор

2023, still this video is a lifesaver

techvishnuyt
Автор

Sir your explanations are very clear and easy to understand.... Thanks.

jatinkumar
Автор

I just love the way u speak❤️ thank you sir ❤️

aishaahmad
Автор

you have taught me a lot thank you sir

zoro-i
Автор

@learninglad Anil, i hav a quick question. As a heads up, i dnt hav the software prgm to test my doubt dats y am asking u.. For multiple inheritance, when u create the object for the derived (child) class, which base (parent) class constructor will be called first? and why?

ytAviation
Автор

Sir, I did not understand where and why iheight and icolor is being used?

kkpw
Автор

i think anil shetty created this language...

ronakrawatofficial
Автор

u r the first indian who says himself white . Just kidding.
You expained each point very well.

asimmohammad
Автор

This is not good design in my opinion. Usually inheritance is used to establish an 'is a' relationship, in your example a child is NOT always a mother or a father, but certainly not both. This is a relationship of a child HAS A mother and a father... The class should contain a mother and a father object within it.

planetmuman
Автор

1 doubt
what is the use of askParents? :)

chethanprabhu
Автор

You did not talk about an important topic in multiple inheritance, I have only opened the video because I wanted to look about that topic, which is collisions when inheriting from multiple classes. It is the only thing that makes multiple inheritance hard in C++. Also, You have spent half of the video in writing the code, which is bad.

hasanamkieh