public class Person {
String name;
public Person(){
}
public Person(String name){
this();//注意不是 this.Person(),该调用语句必须放在第一个语句
this.name = name;
/*
* Constructor call must be the first statement in a constructor
*/
//this();//报错
}
}