@@ -0,0 +1,729 @@
+package ru.revdaalex.menu;%0A%0Aimport ru.revdaalex.menu.interfaces.IO;%0Aimport ru.revdaalex.menu.interfaces.ShowMenu;%0A%0A/**%0A * SubMenu class.%0A * Created by revdaalex on 15.09.2016.%0A */%0Apublic class SubMenu implements ShowMenu %7B%0A    /**%0A     * StringBuilder prefixAndName variable.%0A     */%0A    private StringBuilder prefixAndName = new StringBuilder(%22------%22);%0A    /**%0A     * IO variable.%0A     */%0A    private final IO io;%0A%0A    /**%0A     * Main constructor.%0A     * @param name%0A     * @param io%0A     */%0A    public SubMenu(String name, IO io) %7B%0A        this.prefixAndName.append(name);%0A        this.io = io;%0A    %7D%0A%0A    /**%0A     * Show method from interface.%0A     */%0A    public void show() %7B%0A        this.io.println(prefixAndName);%0A    %7D%0A%7D%0A

add SubMenu.java