был бы признателен, если бы помогли, а то никак не могу понять почему не проходит по 3 последним пунктам
package com.javarush.task.task05.task0517;
/*
Конструируем котиков
*/
public class Cat {
String name;
int weight;
int age;
String address;
String color;
public Cat (String name)
{
this.name = name;
this.weight = 9;
this.age = 10;
this.color = "Black";
this.address = null;
}
public Cat (String name, int weight, int age)
{
this.weight = weight;
this.color = "black";
this.address = null;
this.name = name;
this.age = age;
}
public Cat (int age, String name)
{
this.name = name;
this.age = age;
this.weight = weight;
this.color = "Black";
this.address = null;
}
public Cat (String color, int weight)
{
this.weight = weight;
this.color = color;
this.address = null;
this.name = null;
this.age = 11;
}
public Cat (String color, int weight, String address)
{
this.weight = weight;
this.color = color;
this.address = address;
this.name = null;
this.age = 7;
}
public static void main(String[] args) {
}
}