Home > Back-end >  In ptotected protection inheritance, for vertical access and level of access
In ptotected protection inheritance, for vertical access and level of access

Time:11-10

In ptotected protection inheritance, for vertical access is equivalent to a total of inheritance, the level of access is equivalent to private inheritance right?

CodePudding user response:

The concept of vertical, horizontal, the original poster creation?
General said class (implementation), a derived class, class,

CodePudding user response:

What you said is supposed to be protected access control, rather than protected inheritance, generally use public inheritance,