/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tests;

/**
 *
 * @author kvaradar
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here

        Student alice = new Student("Alice", "00000000");
        Student bob = new Student("Bob","00000001");

        
        alice.setGPA(3.5);

        
        bob.setGPA(4.0);

        

        alice.printRecord();

        CSStudent matt = new CSStudent("Matt","00000002");
        matt.setGPA(3.5);
        matt.setCSGPA(4.0);

        matt.printRecord();

        Student s;
        s = alice;
        s.printRecord();

        s = matt;
        s.printRecord();

    }

}
