go top

网络释义

  Protected inheritance

保护继承protected inheritance):基础类别的公有或保护内容可以被衍生类别,以及由此衍生的其他类别使用。但是基础类别对外界用户是不可见的。

基于56个网页-相关网页

  protected

...:当一个类派生自公有基类时,基类的公有成员也是派生类的公有成员,基类的保护成员也是派生类的保护成员,基类的私有成员不能直接被派生类访问,但是可以通过调用基类的公有和保护成员来访问。 保护继承protected): 当一个类派生自保护基类时,基类的公有和保护成员将成为派生类的保护成员。

基于11个网页-相关网页

  class ProtectedClassprotected Base

C++类的继承与多重继承的访问控制 ... private://私有的 class ProtectedClass:protected Base//保护继承 C++类的继承与多重继承的访问控制 相关文章: ...

基于8个网页-相关网页

短语

受保护的继承 protected inheritance

双语例句

  • 对债权人保护极为不利因为缺乏对继承人有效监督

    It is very disbenefit to protect debtee because there is not efficiency supervision to haeres.

    youdao

  • 社会已经意识到一旦涉及孩子无论他们父母结婚与否都无法否认孩子所应享有的继承父母对孩子应有的保护支持,还有孩子自身合法地位

    Society has already recognized this when it comes to children, who can no longer be denied inheritance rights, parental support or legal standing because their parents are not married.

    youdao

  • 这个业务对象boentity继承一个私有实例变量封装Notes文档这样可以保护任何文档及其直接访问

    This business object encapsulates the Notes document in a private instance variable inherited from the BOEntity class, so any direct access to this document and its items is prevented.

    youdao

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

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

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