jerryG2233 jerryG2233 03-01-2023 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.