interface A {
public static final int X = 5;
}

class B {
public static final int X = 3;
}

class C extends B implements A {
}

class TestResult implements A {
public static void main(String[] ps) {
System.out.println(C.X);
}
}

Submitted on 19 June 2005 at 17:30

Log in to post comments