@@ -0,0 +1,745 @@
+package com.javarush.task.task20.task2016;%0A%0Aimport java.io.Serializable;%0A%0A/*%0A%D0%9C%D0%B8%D0%BD%D0%B8%D0%BC%D1%83%D0%BC %D0%B8%D0%B7%D0%BC%D0%B5%D0%BD%D0%B5%D0%BD%D0%B8%D0%B9%0A*/%0Apublic class Solution %7B%0A    public class A implements Serializable %7B%0A        String name = %22A%22;%0A%0A        public A(String name) %7B%0A            this.name += name;%0A        %7D%0A%0A        @Override%0A        public String toString() %7B%0A            return name;%0A        %7D%0A    %7D%0A%0A    public class B extends A %7B%0A        String name = %22B%22;%0A%0A        public B(String name) %7B%0A            super(name);%0A            this.name += name;%0A        %7D%0A    %7D%0A%0A    public class C extends B %7B%0A        String name = %22C%22;%0A%0A        public C(String name) %7B%0A            super(name);%0A            this.name = name;%0A        %7D%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A%0A    %7D%0A%7D%0A

Task --> 2016