public class We {
public static void main(String[] args) {
// TODO Auto-generated method stub
Son s=new Son();
s.Cs();
}
}
class Parent{
void Cs(){
System.out.println("父类方法");
}
}
class Son extends Parent{
void Cs(){
super.Cs();
System.out.println("子类方法");
}
}