I can't seem to figure out where the problem. Your assistance is appreciated.
package com.codegym.task.task05.task0510;
/*
Initializing cats
*/
public class Cat {
//write your code here
String name = null;
int age = 2;
int weight = 10;
String color = "white";
String address = null;
public void intialize(String name) {
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 intialize(String name, int age) {
this.name = name;
this.age = age;
this.weight = weight;
this.color = color;
}
public void initialize(int weight, String color) {
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) {
}
}