What is the Difference between Agglomeration Aggregation Composition Association in Programming
If you are someone new in computer programming and want to get knowledge about basic and widely using terminologies of programming, this s the right blog for you. Agglomeration, Aggregation, Composition and Association in Programming are the terms that are much confusing for fresh programmers. Now you have no need to worry at all, as I have brought some crystal clear differences between these extensively using programming terms just for you. so don’t waste any time an get information right now.
Agglomeration in Programming
In computer programming, agglomeration means to improve performance by grouping sending and receiving tasks into larger tasks. It not only simplifies the program, but also maintains program’s scalability.
Aggregation in Programming
Aggregation in programming is simply the addition of subclasses as pointer variables. These pointer variables are used to point to external objects of aggregate class and these pointer variables have no relation with addition or destruction of sub objects.
Composition in Programming
By means of composition in programming, we can combine simple or data type objects into complex objects. In object-oriented programming, Composition is the way of making basic data structure of many building blocks like linked list, tagged union, linked list etc.
Association in Programming
Association in object-oriented programming is simply the structural relationship between object’s classes for giving assistance to perform an action between them. It shows the connection of one object to another.
Agglomeration vs Aggregation vs Composition vs Association in Programming
In object-oriented programming, all three terms like Agglomeration, Aggregation and Composition are commonly using. However, Agglomeration is nothing, but simplification of programming and improving the performance by grouping smaller tasks into larger tasks. The difference in aggregation and composition is that, normal member variables are used in composition in contrast to aggregation in which pointer variables are used. Moreover, composition is accountable for creation and destruction of subclasses in contrast to aggregation that is not responsible for all these. In the last, association is just the structural relation between classes of different objects for supporting actions between them.
Related posts
- What is the Difference between Google Android and Windows Mobile
- What is the Difference between Disk Clean up and Disk Defragmenter
- What is the Difference between UI Developer, UI Designer and Web Designer
- What is the Difference between Udk, Ndk, Jre, Jdk and Sdk
- What is the Difference between Postscript, Opentype and Truetype Font
- What is the Difference between Pkzip, Securezip, 7zip, Winzip and Winrar
- What is the Difference between Kernel, Operating System and Application Software
- What is the Difference between Ubuntu Kubuntu Xubuntu Lubuntu Mythbuntu Edubuntu
- What is the Difference between Antispyware, Antivirus and Internet Security
- What is the Difference between Winrunner, Silkperformer, Loadrunner and Qtp