A Student class is created with 2 students instantiated in the main program. The Student class allows for the creation of student objects with each object representing an individual student. Two student objects are then created in the main program to represent two different students.