Hello
i am studying now inheritances and i want to understand what the difference between
1)if a base person was created as private in H file .but the inheritance declared as this
class student:public person.
class student:protected person.
class student: person.
2)if a base person was created as public in H file .but the inheritance declared as this
class student:public person.
class student:protected person.
class student: person.
3)if a base person was created as protected in H file .but the inheritance declared as this
class student:public person.
class student:protected person.
class student: person.
Hello
i am studying now inheritances and i want to understand what the difference between
1)if a base person was created as private in H file .but the inheritance declared as this
Could you show how the base class person "was created" as private in "H file"?