/**
 * A student attending university.
 */ 
public class Student {
  
  /**
   * The first name of the student. 
   * This is an "instance variable".
   */
  private String firstName;
  
  /** The last name of the student. */
  private String lastName;
  
  /** The total number of students. */
  private static int totalStudents;
  
  /**
   * Create a new student.
   */
  public Student() {
    Student.totalStudents++;
  }
  
  /**
   * Return the total number of students.
   */
  public static int getTotalStudents() {
    return Student.totalStudents;
  }
  
  /** Set the first name of the student. */
  public void setFirstName(String fn) {
    this.firstName = fn;
  }
  
  /** Return the first name of the student. */
  public String getFirstName() {
    return this.firstName;
  }
}
