是的,超类的受保护方法可以被子类重写。如果超类方法是受保护的,则子类重写的方法可以是受保护的或公共的(但不能是默认的或私有的),这意味着子类重写的方法不能具有较弱的访问说明符。示例类 A { protected void protectedMethod() { System.out.println("superclass protected method"); } } 类 B extends A { protected void protectedMethod() { System.out.println("subclass protected method"); } } public class Test { public static void main(String args[]) { B b = new B(); b.protectedMethod(); } } 输出 subclass protected method