<分区>
public class Person {
String name;
int weight;
int height;
public Person(String name, int weight, int height){
this.name=name;
this.weight=weight;
this.height=height;
}
public Person(String name, int weight){
this(name, weight);
}
}
错误:(12, 12) java: 递归构造函数调用
我应该更改什么才能正确编译它?
使用 IntelliJ 2017.1