/*
 *2013-09-05
 *HW: Unit 2 Practice Assignment: Ch4 Debug Exercise 3
 *Bradley Forney
 *CIS 127
 *Professor: Craig Sharp
 * 
 * This class uses a FixDebugBox class to instantiate two Box objects
 */

public class FixDebugFour3
{
   public static void main(String args[])
   {
      int width     = 12;
      int length    = 10;
      int height    = 8;
      
      FixDebugBox box1 = new FixDebugBox();
      FixDebugBox box2 = new FixDebugBox(width, length, height);
      
      System.out.println("\n"+"The dimensions of the first box are");
      box1.showData();
      System.out.println("The volume of the first box is "+ box1.getVolume()+"\n");
      
      System.out.println("The dimensions of the second box are");
      box2.showData();
      System.out.println("The volume of the second box is "+box2.getVolume()+"\n");
   }
}
