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.

    • Posted: 4 years ago
    Complete A++ Solution

    Purchase the answer to view it

    blurred-text
    Save time and money!
    Our teachers already did such homework, use it as a reference!