Inheritance in C++ - Part 4

preview_player
Показать описание

In this video I have explained about Inheritance in C++:

1. Need of Virtual Base Class.

2. Example showing the use of Virtual Base Class.

Prof. Vinod Pillai.
Рекомендации по теме
Комментарии
Автор

Seriously, really helpful for upcoming exam

imbsalstha
Автор

I thought someone rang my doorbell at 1:59 . :'D
Thanks for this awesome series!

akashdeepdeb
Автор

You are talking... fast, I had to download and slow you down to 70%.
But other than that, It's pretty good. Thanks.

guygonen
Автор

what is the difference between say
class B : virtual public A
{}
and
class B : public virtual A
{}
it's written like this in my textbook. Are they the same or have different meaning?

EngPheniks
Автор

One doubt..
What happens if you inherit one class through protected and other through public?

vaisnava
Автор

If I was going to REALLY know C++...I can go through all these videos but is there any recommended reading? Thanks in advance.

TheWrencher
Автор

sir @ which software are you using to make videos???

MadForCs
Автор

Its same no difference at all, either you write virtual public A or public virtual A.

vinodthebest