В чем ошибка ?
package com.javarush.task.task05.task0510;
/*
Кошкоинициация
*/
public class Cat {
//напишите тут ваш код
String name = null;
String address = null;
String color = "red";
int age = 9;
int weight = 6;
public void initialize(String name) {
this.name=name;
this.color=color;
this.age=age;
this.weight=weight;
}
public void initialize(String name, int weight, int age) {
this.name=name;
this.color=color;
this.age=age;
this.weight=weight;
}
public void initialize(String name, int age) {
this.name=name;
this.color=color;
this.age=age;
this.weight=weight;
}
public void initialize(int age, String color ) {
this.color=color;
this.age=age;
this.weight=weight;
}
public void initialize(int weight, String color, String address) {
this.address=address;
this.color=color;
this.age=age;
this.weight=weight;
}
public static void main(String[] args) {
}
}