jaamierosee2922 jaamierosee2922 19-09-2022 Computers and Technology Answered The boxstring method contains two loops for for printing a line of - characters, one at the top and one at the bottom. Since the code is the same, place it into a separate method printline, and use that method to simplify boxstring