Project #1:

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 should have at least one instance variable.

Your class needs to check for a correct user input.

Your class most have methods to get/set the value from the instance variables

Your class should have a method to display the shape.

Use the asterisk character to draw the shape.

Project #2:

You must create at least one class without main method. The main method is only for testing your class.

Every time a user creates a shape the output needs to be written to a file.

Create an enumeration (enum) for the Menu method.

Create an Array of object (Shapes) to stores the objects created by the user.

Remember make the array large so that you don't have to run out of space.

Project #3:

This assignment is a continuations of the previous projects.

This assignment is a continuations of the previous projects For this final part of the project you will need to recreate your classes to use INHERITANCE.

You need a new superclass and one or more subclasses for each of the objects. The implementation is for you to decide.

Example:

Create a new superclass (Shapes) and it needs to be declared abstract.

Create a new interface class (your choice) that can read the array previouly created. Either the superclass or the subclasses can implemen the interface.

Create one or more Subclasses for each of the objects that will extend from the superclass Shapes.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.