Need help with your Discussion

Get a timely done, PLAGIARISM-FREE paper
from our highly-qualified writers!

glass
pen
clip
papers
heaphones

ITM 311 IIT Java Creating UML Design Diagrams Questions

ITM 311 IIT Java Creating UML Design Diagrams Questions

ITM 311 IIT Java Creating UML Design Diagrams Questions

Description

There are 3 problems below. For each problem follow instructions. Make sure to complete all steps. Rubric is attached below.

#1- Screenshot of program is labeled as Number 1 and ElectronicSystem.zip is attached with this program. Need to Make UML for this one based on the program given. 

#2- 

Using draw.io or another drawing tool, create a UML design diagram for an Octagon class. Your UML design should include and represent the following:

The Octagon should have GeometricObject as its superclass.

The Octagon class should implement the Comparable and Cloneable interfaces.

For the Octagon object’s getArea() method, assume that all eight sides of the octagon are of equal length. The area can be computed using the following formula:

begin mathsize 18px style a r e a space equals space open parentheses 2 space plus space fraction numerator 4 over denominator square root of 2 end fraction close parentheses space s i d e squared end style

Implementation instructions

1. Following your UML design, implement all the classes 

  • 2. Then implement an application (driver class with a main method) that

create a new Octagon object called octogon1

creates an ArrayList to contain GeometricObject‘s and add octogon1 to the 

add 6 more Octagon objects with random values for the equal length sides 

  • create a new Octagon object called octogon2 from one of the random Octagon objects in the ArrayList using the clone() method, then

using a loop and print each object in the ArrayList and test octogon1 and octogon2 against each Octagon object in the ArrayList using

the compareTo() method to display whether the object is ‘less than’, ‘equal to’ or ‘greater than’

the equals() method to display ‘==’ or ‘!=’

Note: Use the hypelinks to access the references and resources for this assignment

Need these for this problem:

  •  Your UML diagram exported as an image file (jpeg or png)

A captured image (jpeg or png) of your screen showing your program’s output

#3

Using draw.io or any drawing tool, create the UML design diagram that for

an interface called Colorable with a method that returns void named howToColor() to display the message Color all four sides.

a child class called Square

with GeometricObject as its parent class

which implements the Colorable interface

with a value for the side (only one vlaue is necessary since both sides are equal)

the Circle and Rectangle classes (which do NOT implement Colorable)

  1. NOTE: Be sure to include all interfaces, classes and their relationships in your UML design diagram

Implementation instructions
Following your UML diagram, in SEPARATE source code files implement

Colorable and

  1. Square,and then

Include the source code files for Circle and Rectangle

implement an application (driver class) with a main method that demonstrates the Colorable interface and the Square class as follows

create an ArrayList of at least seven GeometricObjects: at least 2 Circles, 2 Rectangles and 2 Squares.

  1. For each object in the array, display its area and invoke its howToColor() method if and only if it is Colorable.

create an Colorable array (NOT an ArrayList) containing 5 random Square objects

  1. print each object in the array (area and perimeter)

Note: Use the hyperlinks to access the references and resources for this assignment.

Need these for this problem:

Your UML diagram exported as an image file (jpeg or png)

A captured image (jpeg or png) of your screen showing your program’s output

Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."

Order Solution Now

Our Service Charter


1. Professional & Expert Writers: Eminence Papers only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Eminence Papers are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Eminence Papers are known for the timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Eminence Papers, we have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.

We Can Write It for You! Enjoy 20% OFF on This Order. Use Code SAVE20

Stuck with your Assignment?

Enjoy 20% OFF Today
Use code SAVE20