we have to call parent class function explicitly in this case In C++ #cplusplus

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

COMPLETE PLAYLIST
————————————
C++ Tutorial For Beginners :
STL (Standard Template Library) :

INTERVIEW PLAYLIST
————————————

QUICK SHORT VIDEOS
————————————-

Here we will learn that when we shadow the function from parent class and have multiple flavours then we can't call parent function without being explicit about it.

Let's see what i mean.

#cppprogramming #cplusplus #softwareengineer
Рекомендации по теме
Комментарии
Автор

Thank you. Is this a good case where u can use the virtual key word ?

tav
Автор

Can you please explain why its not working sir

mohanp
visit shbcf.ru