• Home
  • Blog
  • Programming Assignment in which i am required to develop a basic text-based drawing application.

Programming Assignment in which i am required to develop a basic text-based drawing application.

0 comments

In this assignment, you are to develop a basic text-based drawing application to practice inheritance in Java, practice file input and output

It has

Borders which form a rectangle around a drawing area of 20 by 30 (drawn with the asterisk character

in this example)

Two lines (the ground and the lamp post)

One circle (the lamp)

Two rectangles (the house walls and the door)

One triangle (the roof)

A string of text (“FOR SALE” displayed vertically)

Initially, your main task is to develop the classes whose instances are objects that make up a drawing.

Essentially, they are classes that represent windows and shapes.

You will then develop a menu program that allows the user to progressively create a drawing (by adding

shapes and removing shapes), save the definition of the drawing in a text file and read it back to reconstruct

it.

Most of the files have been provided with hints.

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}