1. Design a class named Person with the following membervariables (Links to an external site.)Links to an external site.:All are string type lastName firstName phone Write the appropriateconstructors, accessor and mutator functions for these membervariables. 2. Design a class named Customer, which is derived fromthe Person class. The Customer class should have the followingmember variables: customerNumber mailingList The customerNumbervariable will be used to hold a unique integer for each customer.The mailingList variable should be a bool. It will be set to trueif the customer wishes to be on a mailing list, or false if thecustomer does not wish to be
OR
OR