Short Java
Lab 5 – Abstraction
1. Create a super class for 3-Dimension shapes.
2. Set one of the abstract methods to CalculateVolume()
3. Create at least three extended classes for the 3DShapes Super Class
4. In the extended class, use the @override directive to calculate volume for different 3-D Object (Cylinder, Sphere, Cone, Rectangle, and Cube)