I can't figure out what's wrong here? Everything seems to be ok. Conditions are fullfield but there are still errors : (
Some hint?
package pl.codegym.task.task05.task0510;
/*
Inicjalizowanie kotów
*/
public class Kot {
//tutaj wpisz swój kod
public String imie;
public int wiek;
public int waga;
public String adres;
public String kolor;
public void inicjalizuj(String imie) {
this.imie = "Mruczek";
this.wiek = 4;
this.waga = 6;
this.kolor = "bialy";
}
public void inicjalizuj(String imie, int waga, int wiek) {
this.imie = "Tomek";
this.wiek = 2;
this.waga = 5;
this.kolor = "rozowy";
}
public void inicjalizuj(String imie, int wiek) {
this.imie = "Bartek";
this.wiek = 3;
this.waga = 7;
this.kolor = "bialy";
}
public void inicjalizuj(int waga, String kolor) {
this.imie = "nieznane imie";
this.wiek = 8;
this.waga = 10;
this.kolor = "brown";
this.adres = "bezdomny kot";
}
public void inicjalizuj(int waga, String kolor, String adres) {
this.wiek = 6;
this.waga = 5;
this.kolor = "green";
this.adres = "korkowa";
}
public static void main(String[] args) {
}
}