@@ -0,0 +1,986 @@
+package com.javarush.task.task13.task1315;%0A%0A/* %0A%D0%A2%D0%BE%D0%BC, %D0%94%D0%B6%D0%B5%D1%80%D1%80%D0%B8 %D0%B8 %D0%A1%D0%BF%D0%B0%D0%B9%D0%BA%0A*/%0A%0Apublic class Solution %7B%0A    public static void main(String%5B%5D args) %7B%0A%0A    %7D%0A    //%D0%BC%D0%BE%D0%B6%D0%B5%D1%82 %D0%B4%D0%B2%D0%B8%D0%B3%D0%B0%D1%82%D1%8C%D1%81%D1%8F%0A    public interface Movable %7B%0A        void move();%0A    %7D%0A%0A    //%D0%BC%D0%BE%D0%B6%D0%B5%D1%82 %D0%B1%D1%8B%D1%82%D1%8C %D1%81%D1%8A%D0%B5%D0%B4%D0%B5%D0%BD%0A    public interface Eatable %7B%0A        void eaten();%0A    %7D%0A%0A    //%D0%BC%D0%BE%D0%B6%D0%B5%D1%82 %D0%BA%D0%BE%D0%B3%D0%BE-%D0%BD%D0%B8%D0%B1%D1%83%D0%B4%D1%8C %D1%81%D1%8A%D0%B5%D1%81%D1%82%D1%8C%0A    public interface Eat %7B%0A        void eat();%0A    %7D%0A%0A    public class Dog implements Movable, 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 Cat implements Movable, Eatable, Eat %7B%0A        @Override%0A        public void move() %7B%0A%0A        %7D%0A%0A        @Override%0A        public void eaten() %7B%0A%0A        %7D%0A%0A        @Override%0A        public void eat() %7B%0A%0A        %7D%0A    %7D%0A%0A    public class Mouse implements Movable, Eatable %7B%0A        @Override%0A        public void move() %7B%0A%0A        %7D%0A%0A        @Override%0A        public void eaten() %7B%0A%0A        %7D%0A    %7D%0A%0A%7D

Complete task1315