@@ -0,0 +1,668 @@
+package com.javarush.task.task12.task1223;%0A%0A/* %0A%D0%98 %D1%81%D0%BD%D0%BE%D0%B2%D0%B0 %D0%9F%D1%83%D1%88%D0%B8%D1%81%D1%82%D0%B8%D0%BA%E2%80%A6%0A*/%0A%0Apublic class Solution %7B%0A    public static void main(String%5B%5D args) %7B%0A        Pet pet = new Cat();%0A        pet.setName(%22%D0%AF - %D0%BF%D1%83%D1%88%D0%B8%D1%81%D1%82%D0%B8%D0%BA%22);%0A%0A        System.out.println(pet.getName());%0A    %7D%0A%0A    public static class Pet %7B%0A        protected String name;%0A%0A        public Pet() %7B%0A        %7D%0A%0A        public final String getName() %7B%0A            return name;%0A        %7D%0A%0A        public void setName(String name) %7B%0A            this.name = name;%0A        %7D%0A%0A    %7D%0A%0A    public static class Cat extends Pet %7B%0A        @Override%0A        public void setName(String name) %7B%0A            this.name = %22%22;%0A        %7D%0A    %7D%0A%7D%0A

Complete task1223