Why it's is giving task not met
package com.codegym.task.task05.task0510;
/*
Initializing cats
*/
public class Cat {
//write your code here
String name,color,address;
int weight,age;
public void intialize(String Name)
{
name = Name;
color = "white";
weight = 10;
age = 5;
}
public void intialize(String Name, int Weight, int age)
{
name = Name;
weight = Weight;
this.age = age;
color = "white";
}
public void intialize(String Name, int age)
{
name = Name;
this.age = age;
color = "white";
weight = 10;
}
public void intialize(int Weight, String color)
{
weight = Weight;
this.color = color;
age = 5;
}
public void intialize(int Weight, String color, String address )
{
weight = Weight;
this.color = color;
this.address = address;
age = 5;
}
public static void main(String[] args) {
}
}