Programming Assignment #2
Due: February 13

Deliverables: the .java files
Problem #1 (20 points):

Design and implement a set of classes representing the following 3D geometric shapes:

Sphere
Cylinder
Cube

Each class should inherit from a common ancestor called Shape3D, and override a getVolume method that returns the volume of the shape. Create a test class that adds several Sphere, Cyclinder, and Cube objects to an ArrayList, then prints out the volume of each object in the ArrayList.