upcast是什么意思,upcast怎么读,
英式发音:[ˈʌpˌkɑːst] 美式发音:[ˈʌpˌkɑːst]
1.When you upcast to a base interface, you can only access the members specified by that interface, just as for upcasting to base classes.
当你上溯到基接口时,你只可以访问由那个接口所指定的成员,就像上溯到基类那样。
2.When a class implements an interface that has multiple base interfaces, objects created from that class can be upcast to any of the base interface types.
当一个类实现有多个基接口的接口时,从这个类生成的对象可以上溯到任何一个基接口。
3.On January 14, President of limited company of giant network group Ms. Liu Wei is in China upcast of game industry annual meeting goes out "win in giant" plan.
1月14日,巨人网络集团有限公司总裁刘伟女士在中国游戏产业年会上抛出“赢在巨人”计划。
4.As for the upcast operator, if the compiler cannot infer a specific target type from the context, it reports an error.
对于向上转换运算符,如果编译器无法根据上下文推断出特定的目标类型,则将报告错误。