@@ -0,0 +1,654 @@
+package com.javarush.task.task15.task1512;%0A%0A/* %0A%D0%9C%D0%B0%D0%BA%D1%81%D0%B8%D0%BC%D0%B0%D0%BB%D1%8C%D0%BD%D0%BE %D0%BF%D1%80%D0%BE%D1%81%D1%82%D0%BE%D0%B9 %D0%BA%D0%BE%D0%B4-2%0A*/%0A%0Apublic class Solution %7B%0A    public static void main(String%5B%5D args) %7B%0A        SiamCat simka = new SiamCat(%22Simka%22);%0A        NakedCat nakedSimka = simka.shave();%0A    %7D%0A%0A    public static class NakedCat %7B%0A    %7D%0A%0A    public static class NormalCat extends NakedCat %7B%0A        public NormalCat(String name) %7B%0A            System.out.println(%22My name is %22 + name);%0A        %7D%0A%0A        public NakedCat shave() %7B%0A            return this;%0A        %7D%0A    %7D%0A%0A    public static class SiamCat extends NormalCat %7B%0A        public SiamCat(String name) %7B%0A            super(name);%0A        %7D%0A    %7D%0A%7D%0A

Complete task1512