@@ -0,0 +1,1013 @@
+package com.javarush.task.task12.task1218;%0A%0A/* %0A%D0%95%D1%81%D1%82%D1%8C, %D0%BB%D0%B5%D1%82%D0%B0%D1%82%D1%8C %D0%B8 %D0%B4%D0%B2%D0%B8%D0%B3%D0%B0%D1%82%D1%8C%D1%81%D1%8F%0A*/%0A%0Apublic class Solution %7B%0A    public static void main(String%5B%5D args) %7B%0A%0A    %7D%0A%0A    public interface Fly %7B%0A        public void fly();%0A    %7D%0A%0A    public interface Move %7B%0A        public void move();%0A    %7D%0A%0A    public interface Eat %7B%0A        public void eat();%0A    %7D%0A%0A    public class Dog implements Move, Eat%7B%0A        @Override%0A        public void move() %7B%0A%0A        %7D%0A%0A        @Override%0A        public void eat() %7B%0A%0A        %7D%0A    %7D%0A%0A    public class Duck implements Move, Fly, Eat %7B%0A        @Override%0A        public void move() %7B%0A%0A        %7D%0A%0A        @Override%0A        public void fly() %7B%0A%0A        %7D%0A%0A        @Override%0A        public void eat() %7B%0A%0A        %7D%0A    %7D%0A%0A    public class Car implements Move %7B%0A        @Override%0A        public void move() %7B%0A%0A        %7D%0A    %7D%0A%0A    public class Airplane implements Move, Fly %7B%0A        @Override%0A        public void move() %7B%0A%0A        %7D%0A%0A        @Override%0A        public void fly() %7B%0A%0A        %7D%0A    %7D%0A%7D%0A

Complete task1218