int x = this.age + this.weight + this.strenght; int y = anotherCat.age + anotherCat.weight + anotherCat.strenght; if (x > y) return true; else return false; Не могу понять почему не проходит валидацию, хотя вроде бы все должно сходиться.