@@ -0,0 +1,475 @@
+package com.javarush.task.task12.task1202;%0A%0A/* %0A%D0%9A%D0%B8%D1%82, %D0%BA%D0%BE%D1%80%D0%BE%D0%B2%D0%B8%D0%B9 %D0%BF%D0%BE%D1%82%D0%BE%D0%BC%D0%BE%D0%BA%0A*/%0A%0Apublic class Solution %7B%0A    public static void main(String%5B%5D args) %7B%0A        Cow cow = new Whale();%0A%0A        System.out.println(cow.getName());%0A    %7D%0A%0A    public static class Cow %7B%0A        public String getName() %7B%0A            return %22%D0%AF - %D0%BA%D0%BE%D1%80%D0%BE%D0%B2%D0%B0%22;%0A        %7D%0A    %7D%0A%0A    public static class Whale extends Cow %7B%0A        @Override%0A        public String getName() %7B%0A            return %22%22;%0A        %7D%0A    %7D%0A%7D%0A

Complete task1202