#include "Student.h" #include <iostream> using namespace std; // // the method implementations note the use of // Student:: in front of method name // void Student::setYear(short year) { // the code for the method } int Student::getYear() const { // the code for the method } void Student::setCredits(short credits) { // the code for the method } short Student::getCredits() const { // the code for the method } void Student::print() const { // the code for the method }