Hi, I have question
Why if I add this, it does not passes the tests (see this.kolor) :
public void inicjalizuj(String imie, int wiek){
this.imie = imie;
this.wiek = wiek;
this.waga=10;
this.kolor = null;
}
and this is correct:
public void inicjalizuj(String imie, int wiek){
this.imie = imie;
this.wiek = wiek;
this.waga=10;
this.kolor = "null";
}
I mean why I can't set Null in String value and I have to add with quote
Thanks for help :)