Hierarchies
Purpose: Use Inheritance
Modify lab #2 as follows:
* Create a new class called 'Person'. This class contains only the 'person' data from the previous ‘Passenger’ (i.e. the first and last names).
* Derive the Passenger class from the person class, and remove any person data from the passenger class.
class Passenger : public Person
{
…
}
* Add any support functions as necessary to the Person and Passenger classes. This includes copy constructors, operator = and operator