не пропускает последние 2 валидатора. что только не пробовал
package com.javarush.task.task05.task0510;
/*
Кошкоинициация
*/
public class Cat {
//напишите тут ваш код
private String name = null;
private int weight;
private int age;
private String color;
private String address = null;
public void initialize(String name)
{this.name = name;
this.color = "black";
this.age = 1;
this.weight = 5;}
public void initialize(String name, int weight, int age)
{this.name = name;
this.weight = weight;
this.age = age;
this.color = "orange";}
public void initialize(String name, int age)
{this.name = name;
this.age = 2;}
public void initialize(int weight, String color)
{this.weight = weight;
this.color = color;
this.age = age;}
public void initialize(int weight, String color, String address)
{this.weight = weight;
this.color = color;
this.address = address;
this.age = age;}
public static void main(String[] args) {
}
}