@@ -0,0 +1,848 @@
+package com.javarush.task.task14.task1403;%0A%0A/* %0ABuilding %D0%B8 School%0A*/%0A%0Apublic class Solution %7B%0A    public static void main(String%5B%5D args) %7B%0A        Building school = getSchool();%0A        Building shop = getBuilding();%0A%0A        System.out.println(school);%0A        System.out.println(shop);%0A    %7D%0A%0A    public static Building getSchool() %7B%0A        //%D0%B8%D0%B7%D0%BC%D0%B5%D0%BD%D0%B8%D1%82%D0%B5 null %D0%BD%D0%B0 %D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82 %D0%BA%D0%BB%D0%B0%D1%81%D1%81%D0%B0 Building %D0%B8%D0%BB%D0%B8 School%0A        return new School();%0A    %7D%0A%0A    public static Building getBuilding() %7B%0A        //%D0%B8%D0%B7%D0%BC%D0%B5%D0%BD%D0%B8%D1%82%D0%B5 null %D0%BD%D0%B0 %D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82 %D0%BA%D0%BB%D0%B0%D1%81%D1%81%D0%B0 Building %D0%B8%D0%BB%D0%B8 School%0A        return new Building();%0A    %7D%0A%0A    static class School extends Building  %7B%0A        @Override%0A        public String toString() %7B%0A            return %22School%22;%0A        %7D%0A    %7D%0A%0A    static class Building %7B%0A        @Override%0A        public String toString() %7B%0A            return %22Building%22;%0A        %7D%0A    %7D%0A%7D%0A

Complete task1403