I appreciate the help...
package com.codegym.task.task05.task0504;
/*
The Three "Muscateers"
*/
public class Solution {
public static void main(String[] args) {
Cat cat1 = new Cat();
cat1.name = "fluffy";
cat1.age = 2;
cat1.weight = 3;
cat1.strength = 50;
Cat cat2 = new Cat();
cat2.name = "buggy";
cat2.age = 3;
cat2.weight = 4;
cat2.strength = 2;
Cat cat3 = new Cat();
cat3.name = "joey";
cat3.age = 6;
cat3.weight = 13;
cat3.strength = 1;
}
public static class Cat {
private String name;
private int age;
private int weight;
private int strength;
public Cat(String name, int age, int weight, int strength) {
this.name = name;
this.age = age;
this.weight = weight;
this.strength = strength;
}
}
}