@@ -0,0 +1,601 @@
+package by.vorokhobko.start;%0A%0Aimport java.util.Scanner;%0A%0A/**%0A * ConsoleInput.%0A *%0A * Class ConsoleInput program for communication with the user part 002, lesson 5.%0A * @author Evgeny Vorokhobko (vorokhobko2011@yandex.ru).%0A * @since 20.03.2017.%0A * @version 1.%0A */%0A%0Apublic class ConsoleInput implements Input %7B%0A%09/**%0A     * The class field.%0A%09 * %D0%A1reating scanner.%0A%09 */%0A%09private Scanner scanner = new Scanner(System.in);%0A%09/**%0A%09* %D0%A1reate the class question.%0A%09* @param question - question.%0A%09* @return tag.%0A%09*/%0A%09public String ask(String question) %7B%0A%09%09System.out.print(question);%0A%09%09return scanner.nextLine();%0A%09%7D%0A%7D

add class ConsoleInput