Create class diagram for abstract class shape

Assignment Help Basic Computer Science
Reference no: EM131303633

Create class diagrams to show the relationship between classes in the given Shape hierarchy as shown in the figure above. Each TwoDimensionalShape should contain method getArea to calculate the area of the two-dimensional shape. Each ThreeDimensionalShape should have methods getArea and getVolume to calculate the surface area and volume, respectively, of the three-dimensional shape.

TASK 1: Create class diagram for abstract class Shape.

TASK 2: Create class diagrams for abstract subclasses TwoDimensionalShape and ThreeDimensionalShape which extend abstract superclassShape. TwoDimensionalShape contains method getArea, and ThreeDimensionalShape contains methods getArea and getVolume.

TASK 3: Create class diagrams for concrete classes Circle, Square, Triangle, Sphere, Cube and Tetrahedron.

TASK 4: Specify the instance variables and methods for each class

Reference no: EM131303633

Questions Cloud

Design and draw a form that lists possible potatoes : Design and draw a form (you choose the size, but be sensible) that lists possible potatoes and toppings in a manner that is easy for counter servers and kitchen crew to scan, and can also be used as input for the inventory/reorder system that is o..
The tip and the stress and strain of the uniaxial bar : Using the updated Lagrangian formulation, solve for displacement at the tip and the stress and strain of the uniaxial bar.
How do you intend to overcome these challenges : Based on your current knowledge of the programme, what do you think will be the key challenges for you during the Masters in Finance, both academically and personally? How do you intend to overcome these challenges?
Write an overview of usus nora eccles harrison museum of art : Write an overview of USU's Nora Eccles Harrison Museum of Art. You can find all the information you will need in thier website ( https://artmuseum.usu.edu ).
Create class diagram for abstract class shape : Create class diagrams for abstract subclasses TwoDimensionalShape and ThreeDimensionalShape which extend abstract superclassShape. TwoDimensionalShape contains method getArea, and ThreeDimensionalShape contains methods getArea and getVolume.
Write a function to compute n! using recursion : Recursion: Write a function to compute n! using recursion. (Note that this is not the most efficient way to compute n!. However, it is conceptually a recursive calculation that is easy to implement and test recursion in MATLAB.)
A deformation of a rectangular bar : Consider a deformation of a rectangular bar whose deformed geometry is given.- write the expression of the S11 component of the second Piola-Kirchhoff stress as a function of α.
Deploying a transparent proxy service with keyword filtering : Deploying a DHCP service for the client's network configuration - Deploying a TFTP service. The client should be able to upload and download files to the TFTP server.
Write a research paper about the surrealism : Write a research paper about the surrealism.What is surrealism? What does it stand for? Is there any contemporary artist practicing surrealism in technological era?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Analyse the case study and produce a vision document

Analyse the case study and produce a Vision document for a software system to solve the business issue identified in the case study - use case diagram capturing at least all critical and significant use cases that the system will have to support

  Write the code to play a number guessing game

HW#5:Write the code to play a number guessing game.

  Importance in technological innovation in firm

What is technology diffusion and discuss its importance in technological innovation in a given firm?

  Comprehensive financial analysis and proposal

Throughout this course you will prepare a comprehensive financial analysis and proposal (excluding tables, figures, and addenda) that will demonstrate your understanding of key financial concepts, strategies and practices.

  Calculate the apr which mr brown paid

Calculate the APR which Mr Brown paid for the 30 day loan. Comment on whether this loan legally or morally constitutes usury?

  What is the data wiping process?

What is the data wiping process?

  Frame definition file

Find a Web site that uses frames and view the source code that underlies the site to see the frame definition file. Include a link, screenshot and the code in your submission.

  What is the output from the following c++ code fragment

What is the output from the following C++ code fragment

  Initializing and reloading a router and switch

You find a couple configurations issues after saving the running configuration to the startup configuration, so you make the necessary changes to fix those issues. If you were to reload the device now, what configuration would be restored to the d..

  Professional behavioral assessment

To date, you have taken a deep look at yourself through the lens of MBTI, a professional behavioral assessment. You have also assessed your own skills and personal traits. You have transferred these, along with some biographic material to a resume..

  Why can we not reduce sorting to finding the maximum element

What (if anything) does this reduction tell us about the upper and lower bounds to the problem of finding the maximum element in a sequence? Why can we not reduce SORTING to finding the maximum element?

  Social networking section of the key assignment

How do networking applications and virtual worlds for social interaction affect people's lives? Explain the positive and negative aspects of reality and virtual reality from both individual and societal perspectives.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd