не хватает интерфейса, класса или модификатора енум. на строку 26 ругается, вроде бы сделал разными входные данные, все равно.
package com.javarush.task.task05.task0510;
/*
Кошкоинициация
*/
public class Cat {
//напишите тут ваш код
String name = "Vaska";
int age = 1;
int weight = 1;
String color;
String address;
public void initialize(String name){
this.name = name;
this.age = 1;
this.weight = 1;
this.color = "green-purple";}
public void initialize(String name, int weight, int age){
this.name = name;
this.color = "calar";
this.weight = weight;
this.age = age;}
public void initialize(String name, int age){
this.name = name;
this.weight = 1;
this.color = "nepon";
this.age = age;} }
public void initiatize(int weight, String color){
this.weight = weight;
this.age = 1
this.color = color;}
public void initialize(int weight, String color, String address){
this.weight = weight;
this.color = color;
this.age = 1;
this.address = address;}
public static void main(String[] args) {
}
}