Why do I keep failing the 1st requirement?
package com.codegym.task.task05.task0510;
public class Cat {
private String name = null;
private int age;
private int weight;
private String address = null;
private String color;
public void initialize(String name){
this.name = name;
age = 4;
weight = 7;
color = "black";
}
public void initialize(String name, int weight, int age){
this.name = name;
this.age = age;
this.weight = weight;
color = "gray";
}
public void initialize(String name, int age){
this.name = name;
this.age = age;
weight = 5;
color = "orange";
}
public void initialize(int weight, String color){
age = 6;
this.weight = weight;
this.color = color;
}
public void initialize(int weight, String color, String address){
age = 5;
this.weight = weight;
this.address = address;
this.color = color;
}
public void main(String[] args) {
}
}