class Person{
int age;
int height;
void eat(){}
void sleep(){}
Person(){} //父类构造方法
}
class Student extends Person{
int score;
void study(){}
Student(){}//子类构造方法
}
[img]http://dl.iteye.com/upload/attachment/349733/54506a71-9068-3567-8d16-df97311981af.jpg[/img]
[color=red]注意[/color]:this不能引用父类的构造函数