Private inheritance In C++ doesn't allow direct access of data and function

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

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

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

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

In this video we will learn that once we inherit as private then it won't allow to access Base class data and functions.

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

I don't understand the purpose of calling private from public function call, why one would that?

nitishbidwe
welcome to shbcf.ru