• 某些情况下通过限制及其派生类访问权可以数据声明保护的”。

    In some cases, data can be declared as "protected," with access limited to the class and its derivatives.

    youdao

  • 成员严格保护能见度可见声明它们任何派生无论在声明。

    Class members with strict protected visibility are visible within the class in which they are declared, and within any descendent class, regardless of where it is declared.

    youdao

  • 如果显式实现成员功能意在派生特殊化,则一定要提供具有相同功能的保护虚拟成员。

    Do provide a protected virtual member that offers the same functionality as the explicitly implemented member if the functionality is meant to be specialized by derived classes.

    youdao

  • 成员用于派生实现通常保护的。

    Members that are intended for use only in the implementation of derived classes are usually protected.

    youdao

  • 只有在通过派生型发生访问时,基保护成员派生类才是访问的。

    Theprotected keyword is a member access modifier. A protected member is accessible within its class and by derived class instances.

    youdao

  • 只有在通过派生型发生访问时,基保护成员派生类才是访问的。

    Theprotected keyword is a member access modifier. A protected member is accessible within its class and by derived class instances.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定