// Cannot make methods more restrictive! // Fields can be shadowed, so it's OK to change their modifiers // Constructors are inherited, so it's not worth showing them class A { public int x; public int blah1() { return x; } protected void blah2() {} void blah3() {} } class B extends A { private int x; private int blah1() { return x+1; } void blah2() {} private void blah3() {} }