Vijaynp5812 Vijaynp5812 03-09-2022 Computers and Technology contestada 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.