What is composition Explain it with the help of an example-00469
This subjective question is related to the book/course vu cs302 Digital Logic Design. It can also be found in vu cs302 Mid Term Solved Past Paper No. 1.
Question 1: What is composition. Explain it with the help of an example.
Answer:
An object may be composed of other smaller objects, the relationship between the "part" objects and the "whole" object is known as Composition, and Composition is represented by a line with a filled-diamond head towards the composer object. For example a man and his body parts have the relation of "part" objects and the "whole" object is known as Composition of man. (Page 52)