Could you explain public and private inheritance?[kyky, sql_lall] | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 3

Could you explain public and private inheritance?[kyky, sql_lall]

17th May 2017, 2:02 AM
Coder Boy
Coder Boy - avatar
2 Réponses
+ 5
Its about access levels. There are three. Public, Protected and Private. It defines what members the derived class can access. see: http://www.learncpp.com/cpp-tutorial/115-inheritance-and-access-specifiers/
17th May 2017, 2:22 AM
jay
jay - avatar
+ 3
plzzz any one answer me!!
17th May 2017, 2:03 AM
Coder Boy
Coder Boy - avatar