Не понимаю(
package com.javarush.task.task05.task0517;
/*
Конструируем котиков
*/
public class Cat {
String name = "Barsik";
int age = 5;
int weight = 6;
String address = null;
String color = "Green";
public Cat(String name){
this.name = name;
int age = 3;
int weight = 4;
String color = "Black";
}
public Cat(String name, int weight, int age){
this.name = name;
this.weight = weight;
this.age = age;
String color = "Gray";
}
public Cat(String name, int age){
this.name = name;
this.age = age;
int weight = 3;
String color = "Red";
}
public Cat(int weight, String color){
this.weight = weight;
this.color = color;
int age = 3;
}
public Cat(int weight, String color, String address){
this.weight = weight;
this.color = color;
this.address = address;
}
//напишите тут ваш код
public static void main(String[] args) {
}
}