0
is this produce compile _time erorr ? plzzzzzzz answeeeeer
X x= new X(); Y y= new Y(); y=x; x=y;
3 Respuestas
+ 9
Hard to say... what kind of classes are X and Y? Any inheritance? Interface among them two?
0
X is a subclass of Y
X x= new X(); Y y= new Y(); y=x; x=y;