请问错在了哪里?May I know where the mistake is,please?
package zh.codegym.task.task05.task0517;
/*
创建猫
*/
public class Cat {
String name;
int age;
int weight;
String address;
String color;
public MyFile(String name){
this.name = null;
this.age = 5;
this.weight = 10;
this.color = "yellow";
}
public MyFile(String name,int weight,int age){
this.name = null;
this.age = 5;
this.weight = 10;
this.color = "yellow";
}
public MyFile(String name,int age){
this.name = null;
this.age = 5;
this.weight = 10;
this.color = "yellow";
}
public MyFile(int weight,String color){
this.age = 5;
this.weight = 10;
this.color = "yellow";
}
public MyFile(int weight,String color,String address){
this.age = 5;
this.weight = 10;
this.address = null;
this.color = "yellow";
}//在此编写你的代码
public static void main(String[] args) {
}
}