"Hi, Amigo! Here are some tasks that involve creating classes and objects."

10
Task
New Java Syntax,  level 10lesson 2
Locked
Cat carnage (1)
You have an empty Cat class created by students at the secret CodeGym lab. A cat (Cat class) must have a name (String name), age (int age), weight (int weight), and strength (int strength).
10
Task
New Java Syntax,  level 10lesson 2
Locked
Cat carnage (2)
Your job is to realize cats in the flesh — in the image and likeness of the Cat class, or more accurately, using it as a template. The number of cats shall be three. Fill these three with life, or in other words, specific data.
10
Task
New Java Syntax,  level 10lesson 2
Locked
Cat carnage (3)
Implement the boolean fight(Cat anotherCat) method: think up a mechanism for cat fighting depending on their weight, age, and strength. Compare each attribute separately so that the winner is the one with the best performance in regards to the most attributes. The method should determine whether the
10
Task
New Java Syntax,  level 10lesson 2
Locked
Cat carnage (4)
Using the three created cats, hold three fights between pairs of cats. To hold a fight, use the boolean fight(Cat anotherCat) method. Display the result of each fight on a new line.