Design and Implement - Abstract Class Shape - IT Computer Science Assignment Help

Download Solution Order New Solution
Assignment Task :

Assessment:  This assignment is worth 40% of the final mark for this subject. Do not be overwhelmed by the length of this file. A lot of its contents are examples, to help you understand the problem a bit better. Focus on one task at a time. It is a good idea to refer to the Java classes that have been provided with the assignment as a good starting point, after you have read the entire specification carefully.

Task 1
a) Design and implement

• The class to represent a drawing window
• The abstract class Shape
• The class that represents a line

b) Test your classes with the EightLines program below. The program must be able to run with your classes without any change.

 

Task 2
a)
Design and implement the rest of the shapes
b) Test your classes with the program HouseForSale below. It should produce the drawing 

Task 3
(a)
In the class Window, implement the following method
void writeSpecToFile(String fileName) The method saves the specification of the drawing window (as opposed to the display image of the drawing) in the specified text file.

(b) Write a program, called T3Main.java, to generate a drawing (just like the one in the class House- ForSale), display it on the screen and save it to a text file called T3Drawing.txt

 

Task 4
(a)
In the class Window, implement the following static method (class method) Window readSpecFromFile(String fileName)
The method reads the text file, constructs and returns the Window object representing the drawing specified in the text file.
The input text file for this method has the same format as described in Task 3.

(b) Write a program, call it T4Main.java, to read the description of a drawing from a text file, e.g. T3Drawing.txt, and display the drawing on the screen.

 

This IT Computer Science Assignment has been solved by our IT Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.