This project demonstrates polymorphism in Java by calculating the volume and surface area of various 3D shapes! The program defines a Shape3DInterface and implements it with three classes: Sphere, Cylinder, and Cube. Each shape calculates its surface area and volume using its own unique formulas. 🏗️
-
Updated
Nov 26, 2024 - Java