<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">//CatListTest.java
/** this java class  tests the CatList container 
  * author Suzanne M. John
  * @author sjohn.tivoli.com
  * @version Java2 1.3
  * @see classname CatListTest
  */
  public class CatListTest  {
   public static void main(String[] args)  {
      CatList cat = new CatList();
      for (int i = 0; i &lt; 3; i++)
         cat.add(new Cat(i)); 
      for (int i = 0;i &lt; cat.size(); i++)
      System.out.println("Gotca cat!"); 
  } // end of main
}  // end of class CatListTest


</pre></body></html>