How to tell the compiler to access the field of the parent or interface?
class Main { public static void main(String[] args) { System.out.println(B.s1); //ошибка } } interface Int { String s1 = "Int";} class A {static String s1 = "A";} class B extends A implements Int{}