class Test {
	public static void main(String[] args) {

		//create an instance of a Box
		Box b1 = new Box();
		printBox(b1);

		//b1.length = 7;
		printBox(b1);

		Box biggerBox = new Box(100,100,50);
		//biggerBox.length = 100;
		//biggerBox.width = -1;
		//biggerBox.height = 50;

		printBox(biggerBox);

		// create an array that can hold 2 boxes
		Box[] boxes = new Box[2];
		boxes[0] = b1;
		boxes[1] = biggerBox;

		// call the new constructor
		Box newBox = new Box(10, 20, 5);		
		printBox(newBox);
	}

	public static void printBox(Box b) {
		System.out.println("length: " + b.getLength());
		System.out.println("width: " + b.getWidth());
		System.out.println("height: " + b.getHeight());	
	}
}
