Почему не проходит? объясните в чем причина?
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 stronger;
stronger= this.weight>anotherCat.weight;
stronger= this.age>anotherCat.age;
stronger=this.strength>anotherCat.strength;
return stronger;
}
public static void main(String[] args) {
Cat cat1= new Cat();
Cat cat2= new Cat();
cat1.strength=10;
cat2.strength=5;
cat1.age=7;
cat2. age=8;
cat1.weight=15;
cat2.weight=20;
boolean result=cat1.fight(cat2);
System.out.println(result);
boolean result2=cat2.fight(cat1);
System.out.println(result2);
}
}