@@ -0,0 +1,1198 @@
+package com.javarush.task.task11.task1109;%0A%0A/* %0A%D0%9A%D0%B0%D0%BA %D0%BA%D0%BE%D1%88%D0%BA%D0%B0 %D1%81 %D1%81%D0%BE%D0%B1%D0%B0%D0%BA%D0%BE%D0%B9%0A*/%0A%0Apublic class Solution %7B%0A    public static void main(String%5B%5D args) %7B%0A        Cat cat = new Cat(%22Vaska%22, 5);%0A        Dog dog = new Dog(%22Sharik%22, 4);%0A%0A        cat.isDogNear(dog);%0A        dog.isCatNear(cat);%0A    %7D%0A%0A    public static class Cat %7B%0A        private String name;%0A        private int speed;%0A%0A        public Cat(String name, int speed) %7B%0A            this.name = name;%0A            this.speed = speed;%0A        %7D%0A%0A        private String getName() %7B%0A            return name;%0A        %7D%0A%0A        private int getSpeed() %7B%0A            return speed;%0A        %7D%0A%0A        public boolean isDogNear(Dog dog) %7B%0A            return this.speed %3E dog.getSpeed();%0A        %7D%0A    %7D%0A%0A    public static class Dog %7B%0A        private String name;%0A        private int speed;%0A%0A        public Dog(String name, int speed) %7B%0A            this.name = name;%0A            this.speed = speed;%0A        %7D%0A%0A        private String getName() %7B%0A            return name;%0A        %7D%0A%0A        private int getSpeed() %7B%0A            return speed;%0A        %7D%0A%0A        public boolean isCatNear(Cat cat) %7B%0A            return this.speed %3E cat.getSpeed();%0A        %7D%0A    %7D%0A%7D%0A%0A%0A%0A

Complete task1109