BeijingPeople
2017-12-04 23:18 沈橙Anei 阅读(275) 评论(0) 编辑 收藏 举报public class BeijingPeople extends ChinaPeople{
public void averageHeight(){
height=172.5;
System.out.println("北京人的平均身高:"+height);
}
public void averageWeight(){
weight=168.78;
System.out.println("北京人的平均体重:"+weight);
}
public void beijingOpera(){
System.out.println("北京歌剧:花脸,青衣,花旦和老生");
}
}