C++ Program: Association in class Example :Write a code to associate Two class

 


The association is in a relationship between two classes. In this type of relationship, both classes know about the connection.

Following Example :

  • Make two-class Birthday and Person
  • Birthday class  object inside person class
Summer was born on :24.4.1992   

0 Comments