Part IV: UML design question (15 points * 1) Please draw a UML class diagram based on the following description: (Note:

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Part IV: UML design question (15 points * 1) Please draw a UML class diagram based on the following description: (Note:

Post by answerhappygod »

Part Iv Uml Design Question 15 Points 1 Please Draw A Uml Class Diagram Based On The Following Description Note 1
Part Iv Uml Design Question 15 Points 1 Please Draw A Uml Class Diagram Based On The Following Description Note 1 (76.39 KiB) Viewed 12 times
only java expert do its ASAP
Part IV: UML design question (15 points * 1) Please draw a UML class diagram based on the following description: (Note: you can use the Violet UML Editor or other tools, or simply draw this on a paper, and then insert a photo/screenshot on the answer sheet.) Shape is a superclass, that has two private attributes, i.e., perimeter: double and area: double, and two public methods, i.e., getPerimeter(): double, get Area(): double. Triangle, Square, and Rectangle are subclasses that inherit Shape. Triangle has two additional private attributes, i.e., type: char and edges: Edgell, and three public methods, i.e., getPerimeter(): double, getArea(): double, and classify(): char. Square and Rectangle are similar to Triangle, except that they do not have the attribute type and the method classify(). In addition, class Edge has two private attributes, i.e., length: double, and points: Endpoint[], and a public method getLength (): double. Class Endpoint has two private attributes, i.e., x: double, y: double, and two public getter methods. Note that each Triangle has three edges, which is a one-to-three relationship; each Square or Rectangle has four edges, which is a one-to-four relationship, and each Edge has two endpoints, which is a one-to-two relationship.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply