
/**
 *  class TestABC: Test the class ABC
 * 
 * @author CS621
 * @version Fall 2002
 */
public class TestABC
{
  public static void main(String args[])
  {
    ABC object1 = new ABC();
    // A second object    
    ABC object2 = new ABC();

    object1.setA(1);
    object1.setB(2);
    object1.setCtoAplusB();


    object2.setA(10);
    object2.setB(20);
    object2.setCtoAplusB();


    System.out.println("The values of a,b and c in object1 are:"+
                        object1.getA()+" "+object1.getB()+" "+object1.getC());

    System.out.println("The values of a,b and c in object2 are:"+
                        object2.getA()+" "+object2.getB()+" "+object2.getC());

    object1.multiplyAby2();
    object1.multiplyBby3();
    object1.setCtoAplusB();
    System.out.println("The values of a,b and c in object 1 are:"+
                        object1.getA()+" "+object1.getB()+" "+object1.getC());   
    System.exit(0);
   }
    
}
