@@ -0,0 +1,297 @@
+package com.javarush.task.task11.task1118;%0A%0A/* %0A%D0%93%D0%BE%D1%80%D0%BE%D0%B4%D1%81%D0%BA%D0%BE%D0%B5 %D1%85%D0%BE%D0%B7%D1%8F%D0%B9%D1%81%D1%82%D0%B2%D0%BE%0A*/%0A%0Apublic class Solution %7B%0A    public static void main(String%5B%5D args) %7B%0A    %7D%0A%0A    public class Pet %7B%0A%0A    %7D%0A%0A    public class Cat extends Pet %7B%0A%0A    %7D%0A%0A    public class Car %7B%0A%0A    %7D%0A%0A    public class Dog extends Pet %7B%0A%0A    %7D%0A%7D%0A

Complete task1118