//A class to describe a Student Object
public class Student{
    
    //Data Fields
    String name;
    String major;
    int age;
    
    //Constructor
    public Student(String n, String m, int a){
        //Initialize student data fields
        name = n;
        major = m;
        age = a;       
    }
    
    //Methods - Behaviors
    
    //Get name of the student
    public String getName(){
        return name;
    }
    
    //Get the major
    public String getMajor(){
        return major;
    }
    
    //Get the age of the student
    public int getAge(){
        return age;
    }
    
    //Change the major of the student
    public void setMajor(String m){
        major = m;
    }
    
    //Change the age of the student
    public void setAge(int a){
        age = a;
    }
}
