пишет что не хватает в строке 32 круглой скобки закрывающей, хотя вроде все верно
package com.javarush.task.task05.task0517;
/*
Конструируем котиков
*/
public class Cat {
//напишите тут ваш код
String name;
int weight;
int age;
String color;
String address;
public Cat(String name){
this.name = name;
this.weight = 3;
this.color = "Синий";
this.age = 4;
}
public Cat(String name,int weight,int age){
this.name = name;
this.weight = weight;
this.age = age;
this.color = "Красный";
}
public Cat(String name,int age){
this.name = name;
this.age = age;
this. weight = 5;
this.color = "Желтый";
}
public Cat(int weight; String color){
this.weight = weight;
this.color = color;
this.name = null;
this.address = null;
this.age = 5;
}
public Cat(int weight,String color, String address){
this.weight = weight;
this.color = color;
this.address = address;
this.name = null;
this.age = 5;
}
public static void main(String[] args) {
}
}