9 lines
218 B
C++

#include "Person.h"
Person::Person(std::string firstName, std::string lastName) : firstName(firstName), lastName(lastName) {
}
std::string Person::toString() const {
return firstName + " " + lastName;
}