#include "Student.h"
#include <sstream>

  Student::Student (string n, bool b, string y, double g) : Person(name, 
isMale), year(y), gpa(g){}
 
   string Student::toString() const 
   {
    std::stringstream out;
//    string str= out.str();
    out << Person::toString();
    out << " is a "<< year<< " GPA is "<<gpa;
     
     return out.str();

   }

