Created object array and wrote printStudents()