Question: Write a program in Java Programming Language Object-oriented Programming Assignment #6 Deadline: Tuesday, Apr. 24 1. Program to be implemented Simple Drawing Tool]) .A program
Write a program in Java Programming Language

Object-oriented Programming Assignment #6 Deadline: Tuesday, Apr. 24 1. Program to be implemented Simple Drawing Tool]) .A program that draws multiple shapes with a text-based menu 2. Overview Write a program that can draw shapes with a text-based menu. The target picture is as follows. (1) Line (2) Wide Horizontal Line (3) Rectangle (a space between symbols) S$$$ S$$$ (4) Square (5) Triangle Add several shapes which you want . Each shape can have an arbitrary character as a pattern. (6) ?? Define the necessary parameters for each shape (e.g., length for Line, width and height for Rectangle) When you start the program, the program shows the Drawing Tool menu. When you select one of the list in the menu, the program executes the expected function and returns to the menu. You can continue this process until you select Quit in the menu. The menu that you have to implement is as follows. (1) Draw Select one of the shapes, put the necessary parameters, and draw it. (2) Show All: Draw the shapes created so far one by one on the screen. (3) Delete All Delete all shapes created so far from the list. (4) Quit: Exit the program 3. Guidelines (1) Implement each class for each shape. At least, implement the following classes. ine WideHorizontal Line Rectangle Square .Triangle (2) Creates their parent class, Shape. Utilize the parent class. For example, you can create the print method in the Shape class to print out the information of each child class. (3) Define methods as many as possible for each class (4) Declare data as private. 1/2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
