| 释义 |
upcasting 释义 n. 向上转型 v. 向上投掷(upcast 的 ing 形式) 例句 1·In case of upcasting , the methods of the child class are called. 在案例上,孩子的类的方法被称为。 2·Thus, casting to a base type is moving up the inheritance diagram: upcasting . 所以,造型就是沿着继承图朝着基类向上:向上造型。 3·Upcasting is applied automatically when you pass arguments to methods on an object type. 当您向某个对象类型上的方法传递参数时,将自动应用向上转换。
|