refering to inner classes from imports doesn't work

Cedric Berger cedric@wireless-networks.com
Fri Feb 8 01:55:00 GMT 2002


>>>public class A
>{
> public static X createSomething ()
> {
> return new X();
> }
>> public class X
> {
> public void someMethod ()
> {
> return;
> }
> }
>}
>How can the *static* method createSomething() create the *non-static* 
class A?
Cedric


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /