Всё выполнилось и должно работать, по идее, правильно, но почему-то не проходит 4 условие. Помогите
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) {
boolean thisCatAge = this.age >= anotherCat.age;
boolean thisCatWeight = this.weight >= anotherCat.weight;
boolean thisCatStrength = this.strength >= anotherCat.strength;
int i = 0;
if (thisCatAge) i++;
if (thisCatWeight) i++;
if (thisCatStrength) i++;
if (i >= 2) return true;
else return false;
}
public static void main(String[] args) {
}
}