@@ -0,0 +1,824 @@
+package by.vorokhobko.InnerClasses;%0A%0Aimport by.vorokhobko.Polymorphism.Input;%0A%0A/**%0A * StubInput.%0A *%0A * Class StubInput the creation of the input as 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 StubInput implements Input %7B%0A%09/**%0A     * The class field.%0A%09 * %D0%A1reating array's answer.%0A%09 */%0A%09private String%5B%5D answers;%0A%09/**%0A     * The class field.%0A%09 * %D0%A1reating position.%0A%09 */%0A%09private int position = 0;%0A%09/**%0A%09* %D0%A1reate the class constructor StubInput.%0A%09* @param answers - answers.%0A%09*/%0A%09public StubInput(String%5B%5D answers) %7B%0A%09%09this.answers = answers;%0A%09%7D%0A%09/**%0A%09* The implementation of polymorphism from class Input.%0A%09* @param question - question.%0A%09* @return tag.%0A%09*/%0A%09public String ask(String question) %7B%0A%09%09return answers%5Bposition++%5D;%0A%09%7D%0A%7D

add class StubInput