Create a class ( Shapes ) that prompts the user to select a shape to be drawn on the screen. Objects: Circle, X, box, box with an x inside, or any other object of your choice. Depending on the user’s...


Create a class (Shapes) that prompts the user to select a shape to be drawn on the screen.


Objects: Circle, X, box, box with an x inside, or any other object of your choice.


Depending on the user’s choice, you will then ask for the number of rows, columns or any requirements needed to draw the shape.


Finally, you will display the shape selected by the user to the screen.


Your class needs to check for a correct user input.


Your class should have a method to display the shape.


Your class should have at least one instance variable.


Use the asterisk character to draw the shape

Sep 27, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here