/**
 * TestEwok.java -- this is an application/main class that serves as a
 * tester for our Ewok.java program.
 * It has been created to experiment with "static" methods (class methods).  
 * It also tests the use of "String[] args" for the main method.
 * CSCE 155 Fall 2005
 *
 * @author Leen-Kiat Soh
 * @version 1.0
 */

class TestEwok  {

   public static void main (String[] args)  {

      Ewok myEwok;   // object declaration
      myEwok = new Ewok();  // object creation

      System.out.println("number of arguments = " + args.length);

      /*
      System.out.println("args[0] = " + args[0]);
      System.out.println("args[1] = " + args[1]);
      System.out.println("args[2] = " + args[2]);
      */

      // Ewok.printInfo();  // Will this compile if un-commented? Why?

      myEwok.printInfo();

      int y = 7;

      // Ewok.printInfo(y);   // Will this compile if un-commented? Why?
      //
      myEwok.printInfo(y);
      
   }

}


