Question: PP 9.6 Design and implement a set of classes that define a series of three-dimensional geometric shapes (these are not like JavaFX classes and

PP 9.6 Design and implement a set of classes that define a series of three-dimensional geometric shapes (these are not like JavaFX classes and have no graphic representation). For each, store fundamental data about their size and provide methods to access and modify this data. In addition, provide appropriate methods to compute each shape's circumference, area, and volume. In your design, consider how shapes are related and thus where inheritance can be implemented. Create a main driver class to instantiate several shapes of differing types and exercise the behavior you provided.
Step by Step Solution
3.44 Rating (163 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
