upcast是什么意思,upcast中文翻譯,upcast怎么讀、發(fā)音、用法及例句
?upcast
upcast 發(fā)音
英:[['?pkɑ:st]] 美:[['?pkɑ:st]]
英: 美:
upcast 中文意思翻譯
adj.向上的;向上拋的
v.向上投擲,向上拋
n.向上投擲之物;上拋;排氣豎坑
upcast 相似詞語(yǔ)短語(yǔ)
1、set upcan i cry ─── 我能哭嗎
2、dangled cupcakke ─── 懸掛的杯子
3、upcoming tournament ─── 即將到來(lái)的錦標(biāo)賽
4、setupcheckl st ─── setupcheckl街
5、succulent cupcakes ─── 多汁紙杯蛋糕
6、comfort coupcooc ─── 舒適coupcooc
7、upc code ─── 通用產(chǎn)品碼;商品條形碼編號(hào)
8、regale cupcakes ─── 盛宴紙杯蛋糕
9、regale cupcakery ─── 皇家紙杯蛋糕
10、bunts cupcakes ─── 圓面包紙杯蛋糕
upcast 常見(jiàn)例句(雙語(yǔ)使用場(chǎng)景)
1、As for the upcast operator, if the compiler cannot infer a specific target type from the context, it reports an error. ─── 對(duì)于向上轉(zhuǎn)換運(yùn)算符,如果編譯器無(wú)法根據(jù)上下文推斷出特定的目標(biāo)類(lèi)型,則將報(bào)告錯(cuò)誤。
2、When you use the upcast operator, the compiler attempts to infer the type you are converting to from the context. ─── 在使用向上轉(zhuǎn)換運(yùn)算符時(shí),編譯器會(huì)嘗試根據(jù)上下文來(lái)推斷出要轉(zhuǎn)換為的類(lèi)型。
3、idea of inheriting from a base class without being able to downcast to it or upcast to the base just seemed silly. ─── 繼承一個(gè)基類(lèi)而無(wú)法將它向下或向上轉(zhuǎn)換到基類(lèi)的理念是不明智的。
4、Once an object has been upcast to an interface type, only the members specified in the interface can be used. ─── 一旦把一個(gè)對(duì)象上溯給一個(gè)接口類(lèi)型,只有該接口中指定的成員才可以被使用。
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. ─── 當(dāng)你上溯到基接口時(shí),你只可以訪(fǎng)問(wèn)由那個(gè)接口所指定的成員,就像上溯到基類(lèi)那樣。
6、In this example, a new Calculator object is created and upcast by being assigned to an IBasicCalculator local variable. ─── 在這個(gè)例子中,生成了一個(gè)新的Calculator對(duì)象,并把它賦給一個(gè)IBasicCalculator局部變量實(shí)現(xiàn)了上溯。
7、There may be other calls where we have to upcast, and this technique might become cumbersome for clients of the ─── 還有其它地方的調(diào)用,我們也得上溯造型,這種技術(shù)對(duì)于
英語(yǔ)使用場(chǎng)景
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.
本站其他內(nèi)容推薦
1、veil wean old-time debris widespread cantor Ethelred alumnae disadvantaged turgor
2、造夢(mèng)西游5孫悟空轉(zhuǎn)職,造夢(mèng)西游5悟空轉(zhuǎn)職哪個(gè)最好
3、millenium是什么意思中文翻譯、發(fā)音、用法及例句
4、be lost中文翻譯,be lost是什么意思,be lost發(fā)音、用法及例句
5、vertical什么意思(vertical中文翻譯,vertical是什么意思,vertical發(fā)音、用法及例句)
6、Ethernet是什么意思,Ethernet中文翻譯,Ethernet發(fā)音、用法及例句
7、洇[ yīn ],洇字的拼音,部首,組詞,成語(yǔ),洇字的筆順,筆畫(huà)順序怎么寫(xiě)
9、patiently是什么意思,patiently中文翻譯,patiently怎么讀、發(fā)音、用法及例句
版權(quán)聲明: 本站僅提供信息存儲(chǔ)空間服務(wù),旨在傳遞更多信息,不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任,不代表本網(wǎng)贊同其觀點(diǎn)和對(duì)其真實(shí)性負(fù)責(zé)。如因作品內(nèi)容、版權(quán)和其它問(wèn)題需要同本網(wǎng)聯(lián)系的,請(qǐng)發(fā)送郵件至 舉報(bào),一經(jīng)查實(shí),本站將立刻刪除。