if i have a class A with display method, class B extends A with display method & class C extends B with display method, how can i call the display meethod in class A thro' a reference variable that refers to a C object?
posted 13 years ago
well, you can't directly. but the following code would work,
The issue here is, we can't directly call c.super.super.display() you know...so we have to go via delegation model... Regards Maulin