class Base { private int name = 0; } class Child extends Base { void foo() { 1 } }