package com.javarush.task.jdk13.task05.task0501; /* Кошачья бойня(1) */ public class Solution { public static class Cat { String name; int age; int weight; int strength; public Cat(String name, int age, int weight, int strength) { this.name = name; this.age = age; this.weight = weight; this.strength = strength; } } public static void main(String[] args) { Solution.Cat firstCat = new Solution.Cat("Vaisik", 2, 6, 5); System.out.println(firstCat.name); System.out.println(firstCat.age); System.out.println(firstCat.weight); System.out.println(firstCat.strength); } }