class Student extends Person
{  
   /**
      @param n the student's name
      @param m the student's major
   */
   public Student(String n, String m)
   {  
      // pass n to superclass constructor
      super(n);
      major = m;
   }

   public String getDescription()
   {  
      return "a student majoring in " + major;
   }

   private String major;
}
