在子类的重写方法中用super关键字 示例代码: class A { void a() { System.out.println("parent'a()"); } } class AA extends A { void a() { System.out.println("child'a()"); super.a(); } } public class Test { public static void main(String[] args) { // TODO Auto-generated method stub AA aa = new AA(); aa.a(); A a = (A) aa; a.a(); } }