upcast信息详情

upcast发音

意思翻译

n.向上投掷之物;上抛;排气竖坑

adj.向上的;向上抛的

v.向上投掷,向上抛

相似词语短语

bunts cupcakes───圆面包纸杯蛋糕

regale cupcakery───皇家纸杯蛋糕

regale cupcakes───盛宴纸杯蛋糕

succulent cupcakes───多汁纸杯蛋糕

upc code───通用产品码;商品条形码编号

set upcan i cry───我能哭吗

upcoming tournament───即将到来的锦标赛

dangled cupcakke───悬挂的杯子

setupcheckl st───setupcheckl街

comfort coupcooc───舒适coupcooc

双语使用场景

When you use the upcast operator, the compiler attempts to infer the type you are converting to from the context.───在使用向上转换运算符时,编译器会尝试根据上下文来推断出要转换为的类型。

Once an object has been upcast to an interface type, only the members specified in the interface can be used.───一旦把一个对象上溯给一个接口类型,只有该接口中指定的成员才可以被使用。

idea of inheriting from a base class without being able to downcast to it or upcast to the base just seemed silly.───继承一个基类而无法将它向下或向上转换到基类的理念是不明智的。

When you upcast to a base interface, you can only access the members specified by that interface, just as for upcasting to base classes.───当你上溯到基接口时,你只可以访问由那个接口所指定的成员,就像上溯到基类那样。

As for the upcast operator, if the compiler cannot infer a specific target type from the context, it reports an error.───对于向上转换运算符,如果编译器无法根据上下文推断出特定的目标类型,则将报告错误。

In this example, a new Calculator object is created and upcast by being assigned to an IBasicCalculator local variable.───在这个例子中,生成了一个新的Calculator对象,并把它赋给一个IBasicCalculator局部变量实现了上溯。

There may be other calls where we have to upcast, and this technique might become cumbersome for clients of the───还有其它地方的调用,我们也得上溯造型,这种技术对于

英语使用场景

When you use the upcast operator, the compiler attempts to infer the type you are converting to from the context.

The word by his appealing look upcast.

Since all objects in the class pool are upcast to their common base class,(sentencedict.com/upcast.html) the polymorphism of the method leads to that which object method will be executed can only be ascertained at runtime.

The child looked at her father with upcast eyes.

All you need to do is upcast from the derived class and never look back to see what exact type of object you're dealing with. Everything is handled through polymorphism.

As for the upcast operator, if the compiler cannot infer a specific target type from the context, it reports an error.

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

Once an object has been upcast to an interface type, only the members specified in the interface can be used.

The student looked at his teacher with upcast eyes.