First and last names are kept in the class personType. Let's say we wish to maintain track of a person's date of birth and personal identification number (like a Social Security number).
Create a new class named personalInfo with a member object of type personType since each person has a unique Identification and birthdate. Add more members to the class personalInfo to store the member ID and birthdate. To start, create a different class called dateType that solely stores a person's birthdate. After that, combine the classes personType and dateType to create the class personalInfo. You can show how to define a new class by combining two existing classes in this manner.
Learn more about identification here-
https://brainly.com/question/4922594
#SPJ4