Что не так?
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 i = 0, j = 0;
if (this.age < anotherCat.age) j++;
else if(this.age == anotherCat.age) return false;
else i++;
if (this.weight > anotherCat.weight) i++;
else if (this.weight == anotherCat.weight) return false;
else j++;
if (this.strength > anotherCat.strength) i++;
else if (this.strength == anotherCat.strength) return false;
else j++;
if ( i == j) return false;
else {
if (i > j) return true; else return false;
}
}
public static void main(String[] args) {
}
}