Hi Dimitris 
Dimitris Vyzovitis wrote this on 30-Mar-01 at 04:02:14

> class A {
>     void doit() {
>         // ...
>     }
> }
>     
> abstract class B extends A {
>     abstract void doit();
> }
>     
> class C extends B {
>     void doit() {
>         // ...
>     }
> }
> 
> Now, say that an instance of C wants to invoke the method implementation 
> in A. Apparently, there is no way to do it... 


Just guessing but would this work:

 A aref=this;
 aref.doit();


 

-- 
any persons, living or dead, are entirely coincidental.    
Tim Hanson,
by the River,Canterbury, Kent.
Amiga A1200T,`040/25,603e/160,32MB Fast,BVisionPPC,
8.4GB IDE HD,ZIP SCSI,RENO x2CD SCSI,Pace 56K




----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to