Assuming it will be called by the draw method in the
Squareclass in Figure, write a
drawSolidSquaremethod that asks the user for the character to print and draws the desired solid square all by itself, without calling any separate
drawHorizontalLinemethod.
Sample session:
Enter width of desired square: 5Area = 25Print with (b)order or (s)olid? sEnter character to use: ##########################
Figure Square class: first-cut version–part A

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.