Design and implement a Java class to represent a 3-D geomtetric shape Solution

Design and implement a Java class to represent a 3-D geomtetric shape of your choice. The class should contain a constructor, appropriate data fields and methods to return the volume of the shape, and the surface area of the shape and any other methods that seem to make sense for you shape. Name your Java file Yournamehw4.java.
Create a Java Test Application to construct your shape and demonstrate the successful call to its methods.
Powered by