/**
 * Ewok class works as an example to illustrate "class methods/data members"
 * and "instance methods/data members".  The key is in the use of modifier
 * 'static'. It works in tandem with TestEwok.java.
 * CSCE 155 Fall 2005
 *
 * @author Leen-Kiat Soh
 * @version 1.0
 */

class Ewok {

   /**
    * This is the constructor of the class Ewok.  It does nothing right now.
    */

   public Ewok()  {

   }

   /**
    * This is a Class method of the class Ewok.  It simply prints out a
    * message.  Note that this is not an Instance method.
    */

   public static void printInfo()  {
      System.out.println("I have nothing");
   }

   /**
    * This is an instance method of the class Ewok. It expects a parameter.
    * @params x an integer.
    */

   public void printInfo(int x)  {
      System.out.println("I have " + x + " and I am not static.");
   }

}  // end Ewok class

