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


class Lion extends Mammal {

   public Lion(int x)  {

      numberTeeth = x;

   }

   public void killAntelope()  {

      // kill an antelope

   }

   // what if I comment the following method out?
   public void computeTeeth()  {

      numberTeeth = numberTeeth - 20;
      System.out.println("Inside Lion's method: teeth count = " + numberTeeth);

   }

}


