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

abstract class Mammal  {

   protected int numberTeeth;   // to be inherited
   protected int numberHair;    // to be inherited

   public Mammal()  {

   }

   public Mammal(int x)  {

      numberTeeth = x;

   }

   public void computeHair()  {

      numberHair = 100;

   }

   // abstract public void computeTeeth();   // what does this mean?
   public void computeTeeth() {
   
      numberTeeth = numberTeeth + 1;
      
      }   // what does this mean?


}


