Assuming it will be called by the draw method in the Square class in Figure 8.7a, write a drawBorderSquare method that asks the user for two characters to use to draw a bordered square, one character of the border and a different character for the space in the middle. Notice that using the same character for the border and the middle makes this method draw a solid square, and thus this method makes the drawSolidSquare method redundant, although this method requires more user interaction.
Sample session:
Enter width of desired square: 5Area = 25Print with (b)order or (s)olid? bEnter character for border: BEnter character for middle: mBBBBBBmmmBBmmmBBmmmBBBBBB

We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.