DRY-79: Detect ambiguous field access
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 {
Submitted on 19 June 2005 at 17:30
public static void main(String[] ps) {
System.out.println(C.X);
}
}
Log in to post comments