[SOLVED] CMSC335 Project 1

20.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (2 votes)

Design, implement and test a Java class Inheritance hierarchy that would satisfy the following is-a and has-a relationships: ï‚·A Shape is an object ï‚·A TwoDimensionalShape is a Shape ï‚·A ThreeDimensionalShape is a Shape ï‚·A Circle is a TwoDimensionalShape ï‚·A Square is a
TwoDimensionalShape ï‚·A Triangle is a TwoDimensionalShape ï‚·A Rectangle is a TwoDimensionalShape ï‚·A Sphere is a
ThreeDimensionalShape ï‚·A Cube is a ThreeDimensionalShape ï‚·A Cone is a ThreeDimensionalShape ï‚·A Cylinder is a
ThreeDimensionalShape ï‚·A Torus is a ThreeDimensionalShape ï‚·A Shape has a NumberofDimensions

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.