/**
 * A driver that can be used to test
 * some aspects of the Length and Weight classes
 *
 * @author  Prof. David Bernstein, James Madison University
 * @version 1.0
 */
public class Driver2
{
    /**
     * The entry point of the application
     *
     * @param args   The command line arguments
     */
    public static void main(String[] args)
    {
	Length               myLength;
	Weight               myWeight;


	myLength = new Length(2, 1);
	myWeight = new Weight(1, 9);

        System.out.print(myLength + " plus " + myWeight + " equals ");
        myLength.changeBy(myWeight);
        System.out.println(myLength);
    }

}
