может не понимаю чего то. 2 последних пункта принимают. первые нет.
package com.javarush.task.task05.task0517;
/*
Конструируем котиков
*/
public class Cat {
//напишите тут ваш код
private String name;
private int age = 5;
private int weight = 5;
private String address;
private String color;
public Cat(String name){
this.name = name;
this.age = age;
this.weight = weight;
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 = weight;
this.color = color;
}
public Cat (int weight, String color){
this.age = age;
this.weight = weight;
this.color = color;
}
public Cat (int weight, String color, String address){
this.age = age;
this.weight = weight;
this.address = address;
this.color = color;
}
public static void main(String[] args) {
}
}