Не понимаю чего ещё хочет?
package com.javarush.task.task05.task0510;
/*
Кошкоинициация
*/
public class Cat {
//напишите тут ваш код
String name;
int weight = 3;
int age = 4;
String color = "black";
String address;
public void initialize (String name){
this.name = name;
}
public void initialize (String name, int age, int weight){
this.name = name;
this.age = age;
this.weight = weight;
}
public void initialize (String name, int age){
this.name = name;
this.age = age;
}
public void initialize (int weight, String color){
this.weight = weight;
this.color = color;
}
public void initialize (int weight, String color, String address){
this.weight = weight;
this.color = color;
this.address = address;
}
public static void main(String[] args) {
}
}