derived class is abstract class when pure virtual function in base class in c++ #cppprogramming

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

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

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

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

Here we will quickly learn that if Base class is having pure virtual function then Derived class also becomes abstract class if pure virtual methods are implemented.

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

B is still an abstract class because B does not override A's show() function.

trilecao
join shbcf.ru