@@ -0,0 +1,869 @@
+package com.javarush.task.task05.task0525;%0A%0A/* %0A%D0%98 %D1%86%D0%B5%D0%BB%D0%BE%D0%B9 %D1%83%D1%82%D0%BA%D0%B8 %D0%BC%D0%B0%D0%BB%D0%BE%0A*/%0A%0Apublic class Solution %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        Duck duck1 = new Duck();%0A        Duck duck2 = new Duck();%0A        System.out.println(duck1);%0A        System.out.println(duck2);%0A%0A        Cat cat1 = new Cat();%0A        Cat cat2 = new Cat();%0A        System.out.println(cat1);%0A        System.out.println(cat2);%0A%0A        Dog dog1 = new Dog();%0A        Dog dog2 = new Dog();%0A        System.out.println(dog1);%0A        System.out.println(dog2);%0A%0A    %7D%0A%0A    public static class Duck %7B%0A        public String toString() %7B%0A            return %22Duck%22;%0A        %7D%0A    %7D%0A%0A    public static class Cat %7B%0A        public String toString() %7B%0A            return %22Cat%22;%0A        %7D%0A    %7D%0A%0A    public static class Dog %7B%0A        public String toString() %7B%0A            return %22Dog%22;%0A        %7D%0A    %7D%0A%7D%0A

Complete task0525