/**
 *  Cat class works as an example to illustrate the use of abstract
 *  class. It works in tandem with Mammal.java and Lion.java.
 *  JDEP 183H Fall 2006
 *  Look at how abstract methods are used.
 * 
 *  @author Leen-Kiat Soh
 *  @version 1.0
 */

class Cat extends Mammal  {

   private final static int DEFAULT_TEETH_NUM = 36;

   public Cat()  {

      this(DEFAULT_TEETH_NUM);

   }

   public Cat(int x)  {

      super(x);

   }

   // what if I comment the following method out?
   //

   public void computeTeeth()  {
     
      numberTeeth = numberTeeth - 2;
      System.out.println("Inside cat's method: teeth count = " + numberTeeth);

   }


}  // end class Cat


