> it seems needs look like that, is'nt it?
> public class c implements a {
> 
>   public static void main( String[] args ) {
>     System.out.println( a.b.test );
>   }
> 
> }
> 
...
>  > And, to strengthen this argument, if I change b.test to a.b.test the
>  > program compiles normally.


As I said, it does compile if you do this, but it is not necessary.
b is a static sub-type of a, of which c is an instance.
Hence b should be directly accessible.
Anyway, I didn't find this out of thin air - (the equivalent of) this
thing is all over my code on a project and I realize it when I tried to
rebuild on a box that doesn't have jikes on it. sed rulez ;-)


-- dimitris 
   mailto:[EMAIL PROTECTED]


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

Reply via email to