你说的是upcasting吧,thinking in java中是把它翻译成“上溯造型”的。
我感觉不应该把“造型”单独拿出来,要把“上溯造型”放在一块。
Taking an object handle and treating it as the handle of the base type is called upcasting because of the way inheritance trees are drawn with the base class at the top.
这是英文的upcasting说明。
thinking in java 1st edition的中文版翻译很烂。
我感觉不应该把“造型”单独拿出来,要把“上溯造型”放在一块。
Taking an object handle and treating it as the handle of the base type is called upcasting because of the way inheritance trees are drawn with the base class at the top.
这是英文的upcasting说明。
thinking in java 1st edition的中文版翻译很烂。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货