import java.util.Scanner;
import java.io.FileNotFoundException;
import java.io.File;

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

        // create two INSTANCES of the Box class using its constructor
		Box b1 = new Box(2,4,6);		
		Box b2 = new Box(1,2,3);		

        // get each box's height using the getter method
		System.out.println("b1's height: " + b1.getHeight());
		System.out.println("b2's height: " + b2.getHeight());

        // change the width of box1
		b1.setWidth(-1);
		System.out.println("b1's width: " + b1.getWidth());

        // get b1's volume by calling the Box class' getVolume method
		int vol = b1.getVolume();
		System.out.println("volume: " + vol);

		// print Object's toString() value
		String str = b1.toString();
		System.out.println("b1 toString(): " + str);
		System.out.println("b2 toString(): " + b2.toString());
}

// end of file
