не выполняется 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) {
int a = 0;
int b = 0;
int c = 0;
boolean win;
if (this.age > anotherCat.age) {
a = 1;
}
if (this.weight > anotherCat.weight) {
b = 1;
}
if (this.strength > anotherCat.strength) {
c = 1;
}
if ( (a + b + c) >= 2) { //итог трех сравнений (если больше 1 выигрыша => this.cat победил)
win = true;
} else {
win = false;
} return win;
}
public static void main(String[] args) {
}
}