c++ 中的继承与访问修饰符

总结:1.私有成员子类不可见

           2.非私有成员最高访问权限限制为小于继承方式

猜你喜欢

转载自blog.csdn.net/yetaibing1990/article/details/84776467