помогите пожалуста. не вижу проблему.
package com.javarush.task.task05.task0517;
/*
Конструируем котиков
*/
public class Cat {
private String name;
private int age;
private int weight;
private String address;
private String color;
public Cat(String name){
this.name=name;
this.age=2;
this.weight=15;
this.color="color";
}
public Cat(String name, int age,int weight) {
this.name=name;
this.age=age;
this.weight=weight;
this.color="color";
}
public Cat(String name, int age) {
this.name=name;
this.age=age;
this.weight=15;
this.color="color";
}
public Cat(int weight, String color){
this.weight=weight;
this.color=color;
this.age=2;
}
public Cat(int weight, String color, String address) {
this.weight=weight;
this.color=color;
this.address=address;
this.name=null;
this.age=2;
}
//напишите тут ваш код
public static void main(String[] args) {
}
}