What is aggregation? Write a program for implementing following. Create a class author with attributes name and qualification. Also create a class publication with pname. Form these classes o crive a class book having attribute title and price. Each of three classes should have a get data () method to get their data from user. The classes should have put data () method to display the data. Create instances of the class book in main.
What is aggregation? Write a program for implementing following. Create a class author with attributes name and…
Answer
The verified answer for this question is being prepared. Meanwhile, the chapter notes cover this topic, and you can contribute your own solution.