/** This is a simple class that stores a student's first and last name and age and
 * has associated get and set methods.
 * 
 * @author Meghan Revelle
 * 
 */

public class Student 
{
	/**
	 * The student's first name.
	 */
	private String firstName;
	
	private String lastName;
	
	private int age;
	
	
	/**
	 * This is the default student constructor.
	 */
	public Student() {	
		age = -1;
	}
	
	/**
	 * This is the student constructor that takes in a first and last name,
	 * and an age.
	 *
	 * @param fName First name of the student.
	 * @param lName Last name of the student.
	 * @param newAge Age of the student.
	 */
	public Student(String fName, String lName, int newAge) {
		firstName = fName;
		lastName = lName;
		age = newAge;
	}
	
	/** Set accessor for firstName
	 * 
	 * @param name	First name of the student.
	 */
	public void setFirstName(String name) 
	{
		firstName = name;
	}

	/** Get accessor for firstName.
	 * 
	 * @return First name of the student
	 */
	public String getFirstName() 
	{
		return firstName;
	}
	
	public void setLastName(String name) 
	{
		lastName = name;
	}
	
	public String getLastName() 
	{
		return lastName;
	}
	
	public void setAge(int studentAge)
	{
		age = studentAge;
	}
	
	public int getAge()
	{
		return age;
	}
	
	
	
	
	
}
