
/*
 *  Simulate a few threads. 
 * */
public class CounterTest
{
  /** Mix inherited thread and interface thread for demo. */
  CounterTest()
  {
    new Thread( new Counter2(5) ).start();
    new Counter(15).start();
    new Counter(10).start();
    new Thread( new Counter2(7) ).start();
    new Counter(5).start();
  }

  /** Run the simulation. */
  public static void main(String[] args)
  {
    new CounterTest();
  }
}


