I think everything is fine but still not working
package com.codegym.task.task05.task0510;
/*
Initializing cats
*/
public class Cat {
//write your code here
String name;
String address;
String color;
int age;
int weight;
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.weight=weight;
this.age=age;
this.color=color;
}
public void initialize(String name,int age){
this.name=name;
this.color=color;
this.age=age;
this.weight=weight;
}
public void initialize(int weight,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) {
}
}