go top

shadowing element

网络释义

  主导遮蔽项目

无法在遮蔽项目的衍生类别内存取受遮蔽项目 (Shadowed Element),除非是从无法存取主导遮蔽项目 (Shadowing Element) 的类别内。例如,如果 Private 项目会遮蔽基底类别项目,则无权存取 Private 项目的程式码会改为存取基底类别项目。

基于20个网页-相关网页

有道翻译

shadowing element

跟踪元素

以上为机器翻译结果,长、整句建议使用 人工翻译 。

双语例句

  • If you shadow the same base class element with more than one element in your derived class, the shadowing elements become overloaded versions of that element.

    如果用派生类中的多个元素隐藏同一个基类元素,隐藏元素将变为该元素的重载版本。

    youdao

  • In such a case, shadowing is defeated and the compiler resolves any reference to the same element it would have if there had been no shadowing.

    在这种情况下,隐藏就会失败,并且如果以前没有隐藏,编译器就会将任何引用解析为它包含的同一个元素。

    youdao

  • Both shadowing and overriding redefine an inherited element, but there are significant differences between the two approaches.

    隐藏和重写都重新定义继承的元素,但这两种方法之间有很大差异。

    youdao

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

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

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