Why my program program does not compile?
package com.codegym.task.task05.task0510;
/*
Initializing cats
*/
public class Cat {
private String name;
private int age;
private int weight;
private String color;
private String address ;
public void initialize (String name)
{
this.name = name;
this.age = age;
this.weight = weight;
this.color = color;
}
public void initialize (String name, int age, int weight)
{
this.name = name;
this.age = age;
this.weight = weight;
this.color = color;
}
public void initialize (String name, int age)
{
this.name = name;
this.age = age;
this.weight = weight;
this.color = color;
}
public void initialize (String color, int weight)
{
this.age = age;
this.weight = weight;
this.color = color;
}
public void initialize (int weight, String color, String address)
{
this.age = age;
this.weight = weight;
this.color = color;
this.address = address;
}
public static void main(String[] args) {
}
}