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