[ 复数 upcasts 第三人称单数 upcasts 现在分词 upcasting 过去式 upcast 过去分词 upcast ]
upcast fault 上升断层 ; [地质] 上投断层
upcast side 上投侧
upcast air 回风
upcast ventilating 上风竖井
upcast air shaft 出风井
upcast header 上升管联箱 ; 上升管箱
upcast entilator 排气通风筒
upcast ventilator 朝上通气筒 ; [矿业] 朝上通风筒
以上来源于: WordNet
N material cast or thrown up 向上抛掷的东西
ADJ directed or thrown upwards 向上抛的
V to throw or cast up 向上抛
When a class has implemented an interface, objects created from that class can be upcast to the interface type, as demonstrated by Listing 12-3.
当一个类已经实现了一个接口时,从这个类生成的对象可以上溯到这个接口类型,如清单12-3所示。
Once an object has been upcast to an interface type, only the members specified in the interface can be used.
一旦把一个对象上溯给一个接口类型,只有该接口中指定的成员才可以被使用。
When you use the upcast operator, the compiler attempts to infer the type you are converting to from the context.
在使用向上转换运算符时,编译器会尝试根据上下文来推断出要转换为的类型。
应用推荐