class Student {int data =10;Student(int data,int age){//只能在构造方法中使用,必须是构造方法的第一条语句this();}Student(){/*如果为this(2, 3)则不行,因为第一个构造方法和第二个构造方法
使用this调用了对方,则不满足必须是构造方法中的第一条语句
*/this(2,3,4);}Student(int data,int age,int score){}}
public class App {
public staticvoidmain(String[] args){
Student student = new Student();}}