Де я припустився помилки?
package com.javarush.task.task05.task0510;
/*
Кошкоинициация
*/
public class Cat {
String name;
int weight=3;
int age=5;
String color="white";
String address;
public void initialize (String name){
this.name = name;
}
public void initialize (String name, int weight, int age){
this.name = name;
this.weight=weight;
this.age=age;
}
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 colour, String address){
this.weight=weight;
this.color=color;
this.address=address;
this.age=1;
}
public static void main(String[] args) {
}
}