не могу понять, что не так
package com.javarush.task.task05.task0510;
/*
Кошкоинициация
*/
public class Cat {
String name, address, color;
int age, weight;
public void initialize (String name) {
this.name = name;
this.age = 8;
this.weight = 4;
this.color = "chernyi";
}
public void initialize (String name, int age, int weight) {
this.name = name;
this.age = age;
this.weight = weight;
this.color = "belyi";
this.address = null;
} //напишите тут ваш код
public void initialize (String name, int age) {
this.name = name;
this.age = age;
this.weight = 4;
this.color = "seryi";
}
public void initialize (int weight, String color) {
this.weight = weight;
this.color = color;
this.age = 2;
}
public void initialize (String color, String address, int weight) {
this.color = color;
this.address = address;
this.weight = weight;
this.age = 4;
this.name = null;
}
public static void main(String[] args) {
}
}