что здесь не правильно?
package com.javarush.task.task05.task0502;
/*
Реализовать метод fight
*/
public class Cat {
public int age;
public int weight;
public int strength;
public Cat() {
}
public boolean fight(Cat anotherCat) {
//напишите тут ваш код
int thiscat = 0;
int anothercat = 0;
if (anotherCat.age>=this.age) anothercat++; else thiscat++;
if (anotherCat.weight>=this.weight) anothercat++; else thiscat++;
if (anotherCat.strength>=this.strength) anothercat++; else thiscat++;
if(thiscat>=anothercat) return true; else return false;
}
public static void main(String[] args) {
}
}