• When you upcast to a base interface, you can only access the members specified by that interface, just as for upcasting to base classes.

    当你上溯到基接口时,你只可以访问由那个接口所指定的成员,就像上溯到基类那样。

    youdao

  • Upcasting is applied automatically when you pass arguments to methods on an object type.

    当您向某个对象类型上的方法传递参数时,将自动应用向上转换。

    youdao

  • Upcasting is applied automatically when you pass arguments to methods on an object type.

    当您向某个对象类型上的方法传递参数时,将自动应用向上转换。

    youdao

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

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

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