public class Cat { //напишите тут ваш код String name; int weight = 5 ; int age ; String color = "черный"; String address ; public void initialize(String name) { this.name = name; this.weight=weight; this.age = 1; this.color = color; } public void initialize(String name, int weight, int age) { this.name=name; this.age=age; this.weight=weight; this.color=color;} public void initialize (String name, int weight){ this.name=name; this.weight = weight; this.age=age; this.color=color;} //Почему тут НЕнужно задавать значение age ?? public void initialize (int weight, String color){this.weight=weight; this.color=color; this.age=1;} // а тут нужно иначе не проходит валидацию??? public void initialize (int weight, String color, String address){this.age=1; this.color=color; this.address=address; this.weight=weight; } // и тут почему нужно указывать значение age ?? хотя выше не указывали... public static void main(String[] args) { } }