Computer Science, asked by debashispanda6095, 1 year ago

Aggregation andcomposition definition in python

Answers

Answered by praveen215
1
Composition. In compostion one of the classes is composed of one or more instance of other classes. In other words one class is container and other class is content and if you delete the container object then all of its contents objects are also deleted. Now lets see an example of composition in Python3.5.
Similar questions