001    /**
002     * This is part of the Problem Set 0: Introduction for CSE 331.
003     */
004    package ps0;
005    
006    /**
007     * This is a simple object that has a volume.
008     */
009    public class Ball {
010    
011        private double volume = 0;
012    
013        /**
014         * Constructor that creates a new ball object with the specified volume.
015         * @param volume Volume of the new object.
016         */
017        public Ball(double volume) {
018            volume = volume;
019        }
020    
021        /**
022         * Returns the volume of the Ball.
023         * @return the volume of the Ball.
024         */
025        public double getVolume() {
026            return 0;
027        }
028    
029    }