public class Cat {
    public String name;
    public int age;
    public int weight;
    public int strength;



    public Cat() {
    }

     public static void main(String[] args) {

        Cat cat1=new Cat();
        Cat cat2=new Cat();


        cat1.name="Jony";
        cat2.name="Rocy";
        cat1.age=3;
        cat2.age=4;
        cat1.weight=28;
        cat2.weight=25;
        cat1.strength=8;
        cat2.strength=7;

    }

    public boolean fight(Cat anotherCat) {
        Cat cat1=new Cat();
        Cat cat2=new Cat();


         if (cat2.strength >= cat1.strength )
        cat1.fight(cat2) = true;
        else
        cat2.fight(cat1) = true;

        //напишите тут ваш код
    }


}