public class Solution {
public static void main(String[] args) {
//write your code here
}
public static class Cat {
Cat cat1=new Cat("ada",21,33,11);
Cat cat2=new Cat("sda",21,2,44);
Cat cat3=new Cat("sqq",2,3,4);
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;
}
}
}
package com.codegym.task.task05.task0504;
/*
The Three "Muscateers"
*/
public class Solution {
public static void main(String[] args) {
//write your code here
}
public static class Cat {
Cat cat1=new Cat("ada",21,33,11);
Cat cat2=new Cat("sda",21,2,44);
Cat cat3=new Cat("sqq",2,3,4);
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;
}
}
}