|
|
Output of:
As Is ......
aX.method();
method(): in class X
instanceX = 1
printinstanceX(): in class XX
instanceX = 1
aXX.method();
method(): in class XX
instanceX = 2
printinstanceX(): in class XX
instanceX = 2
with cast ......
aX.method();
method(): in class XX
instanceX = 2
printinstanceX(): in class XX
instanceX = 2
aXX.method();
method(): in class XX
instanceX = 2
printinstanceX(): in class XX
instanceX = 2
|
|
Created by
unroff,
java2html &
& hp-tools.
© by csfac. All Rights Reserved (2010).
It is not allowed to print these pages on a CAST printer.
Last modified: 01/April/10 (17:16)