Hi! can someone help me with this?
package com.codegym.task.task05.task0510;
/*
Initializing cats
*/
public class Cat {
//write your code here
private String address=null;
private String name=null;
private String color;
private int age;
private int weight;
public void initialize(String name){
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 name, int weight, int age){
this.name=name;
this.age=age;
this.weight=weight;
this.color=color;
}
public void initialize(int weight, String color){
this.weight=weight;
this.color=color;
this.name=name;
this.age=age;
}
public void initialize(int weight, String color, String address){
this.weight=weight;
this.color=color;
this.address=address;
this.age=age;
}
public static void main(String[] args) {
}
}