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