top-level class only can have coderanch, abstract, and final as its modifers.
public class
Test {
static class NestedStatic {
public void happy()
{
System.out.println("happy");
}
}
public static void main(
String []args)
{
new NestedStatic().happy();
}
}
[ May 31, 2006: Message edited by: wise owen ]