public class ClassA { private static final int value = 10; int v; public ClassA() { v = value; } }
public class ClassB extends ClassA { private static final int value = 20; public ClassB() { super(); } }
public class ClassB extends ClassA { private static final int value = 20; public ClassB() { super(); v = value; } }