Question: Using Composition Write a program to display the information of the person with name and birthday to complete the Information. Create a class Person. It
Using Composition Write a program to display the information of the person with name and birthday to complete the Information. Create a class Person. It has first name and last name. Create a class Date. It has day, month and year. Using composition, create a class called BirthdayInfo Write a program which creates an instance of the BirthdayInfo class, and displays the name and birthday for that person
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
