abstract class Test
{
static int n = 30;
static void TestMethod() {
System.out.println("TestMethod()");
}
}
public class AClass extends Test
{
public static void main(String args[]) {
Test.TestMethod();
System.out.println(Test.n);
}
}
/*
run:
TestMethod()
30
*/