Using the GeometricObject class example in the book, create the following sub cl
ID: 3631585 • Letter: U
Question
Using the GeometricObject class example in the book, create the following sub classes:
GeometricObject -> Circle -> Cone
GeometricObject -> Triangle -> TriBasePyramid
GeometricObject -> Rectangle -> RectBasePyramid
GeometricObject -> Hexagon -> HexagoneBasePyramid
The classes must be designed to have appropriate data fields and methods with every possible way to instantiate an object (different constructors). The test program should instantiate objects of the above types and calculates their volumes. Remember each sub class adds more detail to the super class.
Explanation / Answer
Cant understand a thing.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.