????????super??????????
???????磺
<span style="font-size:14px;">public class test {
public static void main(String [] args){
new Teacher("three"?? 65?? 188);
}
}
class Human {
static public float weight;
static public int height;
}
class Teacher extends Human {
static private String s;
Teacher(String s?? float weight?? int height){
super.weight = weight;
super.height = height;
Teacher.s = s;
System.out.println(super.weight);
System.out.println(super.height);
System.out.println(Teacher.s);
}
}</span>
?????????
????65.0
????188
????three
????????super??this??????
????1)super??????????????????е????????????????????????е??????????this?????????????????????????γ????????????????????е??????????
????2)super??????????????????е????????????????????б??????????г???????????????????????????????????????磺super.??????    super.???????????????Σ???this?????????????????????????????????????????this??????????????????????β??????е???????????????????this??????????????????
????3??????super()????д???????????????У??????????????????????????????????????????????super()????????????????????????????????????????????super()??this()????????????super()???????е??????????????this()?????????????????????
????4??super()??this()?????????????????У?
????5???????????this???????????????????????????????
????6??this??super????????????????????????棬???this????????????????????????????????????????super?????????????????????????????????????????????????壬????????????????
????7??this()??super()?????????????????????????static????????á???????static??????static??????static???飻
????8????????????this???????????????? ???super?????Java??????