阅读背景:

强制调用基类方法

来源:互联网 

The following code when run obviously prints out "B1/A2/B2". Now, is it possible for it to print "A1/A2/B2" instead (i.e. A#method2() should invoke method1() on A, not on B)?The following code when run obviously prints ou




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: