...生类时将基类的继承方式指定为protected的,称为保护继承,用保护继承方式建立的派生类称为保护派生类(protected derived class),其基类称为受保护的基类(protected base class),简称保护基类。
基于28个网页-相关网页
It has a protected modifier, so it's only available to derived subclasses and within the Lure class itself.
它具有一个受保护的修饰符,所以它只对派生子类可用并且在lure类本身的内部。
Theprotected keyword is a member access modifier. A protected member is accessible within its class and by derived class instances.
只有在通过派生类类型发生访问时,基类的受保护成员在派生类中才是可访问的。
应用推荐