@@ -0,0 +1,698 @@
+package com.javarush.task.task13.task1303;%0A%0A/* %0A%D0%9F%D0%B8%D0%B2%D0%BE %D1%81 %D0%BA%D0%BE%D0%BB%D0%BE%D0%B9 %D0%BD%D0%B5 %D0%BC%D0%B5%D1%88%D0%B0%D1%82%D1%8C%0A*/%0A%0Apublic class Solution %7B%0A    public static void main(String%5B%5D args) throws Exception %7B%0A        print(new Beer());%0A        print(new Cola());%0A    %7D%0A%0A    private static void print(Drink drink) %7B%0A        System.out.println(drink.getClass().getSimpleName());%0A    %7D%0A%0A    public interface Drink %7B%0A        boolean isAlcoholic();%0A    %7D%0A%0A    public static class Beer implements Drink%7B%0A        @Override%0A        public boolean isAlcoholic() %7B%0A            return true;%0A        %7D%0A    %7D%0A%0A    public static class Cola implements Drink %7B%0A        @Override%0A        public boolean isAlcoholic() %7B%0A            return false;%0A        %7D%0A    %7D%0A%7D%0A

Complete task1303