单词 | Upcast |
例句 | 1. The child looked at her father with upcast eyes. 2. The word by his appealing look upcast. 3. The student looked at his teacher with upcast eyes. 4. Once an object has been upcast to an interface type, only the members specified in the interface can be used. 5. As for the upcast operator, if the compiler cannot infer a specific target type from the context, it reports an error. 6. 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. 7. Since all objects in the class pool are upcast to their common base class,(/upcast.html) the polymorphism of the method leads to that which object method will be executed can only be ascertained at runtime. 8. When you upcast to a base interface, you can only access the members specified by that interface, just as for upcasting to base classes. 9. When you use the upcast operator, the compiler attempts to infer the type you are converting to from the context. 10. The idea of inheriting from a base class without being able to downcast to it or upcast to the base just seemed silly. 11. 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. 12. 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. 13. In this simulation model, the motion of the anvil was divided into the vibration phase and the upcast motion phase. |
随便看 |
|
英语例句大全共收录104207条中英例句词条,基本覆盖所有常用英文单词的例句、长难句及中文翻译,是不可多得的英语学习材料。