class Father
{
int age;
String name;
void eat()
{
System.out.println("吃馍!");
}
}
class Son extends Father
{
int height;
void eat()
{
super.eat();
System.out.println("喝酒");
}
}
class Ex
{
public static void main(String args[])
{
Son p=new Son();
Father p1=new Son();
p1.eat();
p.eat();
}
}