Originally posted by sid sree:
Well i did not quite get how class bro (sub) quite tells the compiler that it supports the "I" interface ??
Originally posted by Ankith suresh:
Hi Henry
Does it mean a class ref can cast to any interface?
Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
-- deepak <br />SCJP 5.0, SCWCD 5.0
Originally posted by sid sree:
Hi henry
I guess there has been a small error while you where reading the code
"a reference to sub can also hold subclasses of sub, including a sub2 object"
No where in the code does sub extends sub1
Both sub & sub1 extends Base !!!
So please try to answer my query on the basis of this !!!
Thanks really appreciate you trying to help me out !!!