upcasting
英[]
美[]
- n. 向上转型
- v. 向上投掷(upcast 的 ing 形式)
双语例句
- 1. In case of upcasting, the methods of the child class are called.
- 在案例上,孩子的类的方法被称为。
youdao
- 2. Thus, casting to a base type is moving up the inheritance diagram: upcasting.
- 所以,造型就是沿着继承图朝着基类向上:向上造型。
youdao
- 3. Upcasting is applied automatically when you pass arguments to methods on an object type.
- 当您向某个对象类型上的方法传递参数时,将自动应用向上转换。
youdao
- 4. 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
- 5. 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
百度翻译
有道翻译