could someone explain to me why all these tasks are not checking.
I have done everything that they have asked
package com.codegym.task.task05.task0517;
/*
Creating cats
*/
public class Cat {
private String name;
private int age;
private int weight;
private String address;
private String color;
public void Cat(String name)
{
this.name=name;
this.age=5;
this.weight=4;
this.color="blue";
}
public void Cat(String name, int weight, int age)
{
this.name=name;
this.weight=weight;
this.age=age;
this.color="red";
}
public void Cat(String name, int age)
{
this.name=name;
this.age=age;
this.weight=5;
this.color="black";
}
public void Cat(int weight, String color)
{
this.weight=weight;
this.color=color;
this.age=6;
}
public void Cat(int weight, String color, String address)
{
this.weight=weight;
this.color=color;
this.address=address;
this.age=5;
}
public static void main(String[] args) {
}
}