package com.javarush.task.task05.task0510;
/*
Кошкоинициация
*/
public class Cat {
String name = null;
int age;
int weight;
String address;
String color;
public void initialize(String name) {
this.name = name;
this.age = 3;
this.weight = 5;
this.color = "white";
}
public void initialize(String name, int weight, int age) {
this.name = "name";
this.age = 3;
this.weight = 5;
this.color = "white";
}
public void initialize(String name, int age) {
this.name = name;
this.age = 8;
this.weight = 1;
this.color = "brown";
}
public void initialize(int age, String color) {
this.age = 4;
this.weight = 7;
this.color = "rose";
}
public void initialize(int weight, String color, String address) {
this.age = 7;
this.weight = 4;
this.address = address;
this.color = "green";
}
public static void main(String[] args) {
}
}