/**
 *
 * @author Stephen Hole 
 * 
 */

public class JOOBoxDemoFinal {
    
    public static void main(String[] args) {
        Box myBox1 = new Box(10, 20, 15);
        Box myBox2 = new Box(103, 6, 9);
        double vol, width, height, depth;
        
        //display volume of first box
        vol = myBox1.volume();
        System.out.println("The volume of the box1 is: " + vol);
        
        //display volume of second box
        vol = myBox2.volume();
        System.out.println("The volume of the box2 is: " + vol);
        
        width = myBox1.getWidth();
        height = myBox1.getHeight();
        depth = myBox1.getDepth();
        
        System.out.println("Box1 height is " + height + ", width is " + width + " and depth is " + depth);  
    }
    
}
