Design and implement a Java class to represent a 3-D

profileTopsolutions
 (Not rated)
 (Not rated)
Chat

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.

Document in a word document the results of running your application.

    • 10 years ago
    complete solution
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      yournamehw4.java
    • attachment
      yournamehw4.docx